samarthputhraya commented on issue #1462:
URL: https://github.com/apache/flink-agents/issues/1462#issuecomment-7195436984

   One more detail for the switch, from OpenAI's GPT-6 Luna page 
(https://developers.openai.com/api/docs/models/gpt-6-luna): its reasoning 
effort defaults to `medium`, and "Chat Completions supports function calling 
only with `reasoning_effort` set to `none`." `OpenAICompletionsSetup` accepts 
only `low`, `medium` or `high` 
([L65](https://github.com/apache/flink-agents/blob/b2202ecd11bd78c8e897d9c20338c0273a83cbeb/integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java#L65)),
 so with `gpt-6-luna` as the Completions default, an agent with tools couldn't 
set the one value that page allows for function calling. The Completions side 
probably needs `none` accepted (and used when tools are present), or a 
different default there; that sentence doesn't apply to the Responses setup. 
I'll fold whichever you prefer into the PR.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to