自定义provider不支持reasoning effort选项吗? #302
Replies: 2 comments
|
找到了,配置文件修改: |
|
补充一个已从源码和实际 session log 验证过的完整例子。关键点是:推理档位是每个模型的 capability,要声明在具体 model entry 的 以支持图片、Light / Medium / High / Extra High / Max 的自定义 llm-pi-ai:
providers:
my-gateway:
apiKeyEnv: MY_GATEWAY_API_KEY
api: openai-responses
baseURL: https://gateway.example/v1
models:
- id: my-reasoning-model
name: My Reasoning Model
input: [text, image]
reasoningEfforts:
low: low
medium: medium
high: high
xhigh: xhigh
max: maxDSH 当前使用的标准档位 key 是 为什么自定义 provider 默认没有选项:源码中,未声明 验证方法:选择档位并发一条新消息后,session log 的 {
"config": {
"provider": "my-gateway",
"model": "my-reasoning-model",
"reasoningEffort": "high"
},
"reason": "change"
}图片消息在 另外, |
Uh oh!
There was an error while loading. Please reload this page.
我的配置:


点开后没有思考强度的选项:
All reactions