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

   Thanks for catching this and checking the tool-calling compatibility!
   
   I think we can use `gpt-6-luna` as the default model for both Java and 
Python. For `reasoning_effort`, let's:
   
   - Accept the string `"none"` alongside `"low"`, `"medium"`, and `"high"`.
   - Keep the general default unset.
   - Override `open()` in the Chat Completions setup and call `super.open()` 
first to resolve all configured tools, including those from skills and 
subagents. Then default to `"none"` only when tools are present, the selected 
model requires it for tool calling, and the user hasn't explicitly configured 
`reasoning_effort`, including through `additional_kwargs`.
   - Preserve explicit user settings. The Responses setup should continue 
leaving the parameter unset by default.
   
   The automatic default should apply only to known models with this 
restriction, rather than the whole GPT-6 family, since models such as 
`gpt-6.2-astra` reject `"none"`.
   
   Please also update the structured-output capability lists, documentation, 
and tests accordingly. Thanks for offering to work on 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