Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

Adjust reasoning effort based on model type#8

Closed
GeorgeXie2333 wants to merge 3 commits into
OVINC-CN:mainfrom
GeorgeXie2333:main
Closed

Adjust reasoning effort based on model type#8
GeorgeXie2333 wants to merge 3 commits into
OVINC-CN:mainfrom
GeorgeXie2333:main

Conversation

@GeorgeXie2333
Copy link
Copy Markdown
Contributor

Chat(Instant)模型只支持reasoning effort设为medium,否则会返回错误

Signed-off-by: George Tse <65408965+GeorgeXie2333@users.noreply.github.com>
Signed-off-by: George Tse <65408965+GeorgeXie2333@users.noreply.github.com>
@GeorgeXie2333
Copy link
Copy Markdown
Contributor Author

gemini deep research隐藏显示interaction_id

@OrenZhang
Copy link
Copy Markdown
Contributor

Chat(Instant)模型 具体是哪个模型,可以贴一下文档和 ID 吗

Comment thread pipes/gemini_deep_research.py
Comment thread pipes/gemini_deep_research.py
Comment thread pipes/gemini_deep_research.py
@GeorgeXie2333
Copy link
Copy Markdown
Contributor Author

Chat(Instant)模型 具体是哪个模型,可以贴一下文档和 ID 吗

id: gpt-5.2-chat-latest, gpt-5-chat-latest

如果使用其他thinking_effort,会返回err: Unsupported value: 'none' is not supported with the 'gpt-5.2-chat-latest' model. Supported values are: 'medium'.

@OrenZhang
Copy link
Copy Markdown
Contributor

id: gpt-5.2-chat-latest, gpt-5-chat-latest

如果使用其他thinking_effort,会返回err: Unsupported value: 'none' is not supported with the 'gpt-5.2-chat-latest' model. Supported values are: 'medium'.

按照所见及所得的理念,不建议强制做数据转换,容易造成误解;建议保留报错信息

@OrenZhang
Copy link
Copy Markdown
Contributor

如果是担心用户看不懂报错信息,可以 raise APIException,使用自定义提示

@OrenZhang
Copy link
Copy Markdown
Contributor

resolved

7f46f01

@OrenZhang OrenZhang closed this Dec 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants