force whitepaper to search

This commit is contained in:
rdyzakya 2025-12-26 10:42:49 +08:00
parent 19a9c704d9
commit 333120fbb4
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ def get_whitepaper_openai(symbol):
"search_context_size": "low", "search_context_size": "low",
} }
], ],
tool_choice={"type": "web_search_preview"},
temperature=1, temperature=1,
max_output_tokens=4096, max_output_tokens=4096,
top_p=1, top_p=1,