Feat:Enhanced support for OpenAI GPT 5.1 (#7443)
* Comprehensive changes to better support GPT 5.1 - System prompt, tools, deep-planning, focus chain, etc. * Fix typos * Fix more typos
This commit is contained in:
1 parent
e714c74ec4
commit
cf8dd1c150
54 files changed
+1385
-241
No files matched your search
@@ -79,7 +79,7 @@ export function getOpenAIToolParams(tools?: OpenAITool[]) {
|
||||
? {
|
||||
tools,
|
||||
tool_choice: tools ? ("auto" as ChatCompletionToolChoiceOption) : undefined,
|
||||
parallel_tool_calls: tools ? true : undefined,
|
||||
parallel_tool_calls: tools ? false : undefined, // Set to false to force single tool calls
|
||||
}
|
||||
: {
|
||||
tools: undefined,
|
||||
|
||||
Reference in new issue
Block a user