Repository navigation
Keeps tool calling working on gpt-6.2-sol, the new OpenAI default (db6d947).
On gpt-6.2-sol, ToolCallingAIService called the tools but did not use what they returned. The model does not trust a tool result which only the message text reports, and answered e.g. "I can't verify which carrier shipped order 42 without a confirmed order lookup". Every tool result so far now also travels along with each call as ChatInput.getToolResults(). On the OpenAI Responses API, so on OpenAI and Azure OpenAI, they are sent as function_call and function_call_output item pairs next to the message text. OpenAIService.supportsOpenAIFunctionCallOutput() controls this per service. All other providers, xAI and Meta AI included, continue to get the tool results through the message text alone.
The new ChatInput.ToolResult record holds one tool call: the tool name, the arguments the AI supplied and the output of the tool.
The default models move up: gpt-6.2-sol for OpenAI and Azure OpenAI, and gemini-4-hydrogen for Google AI.