fix(openai): 修复推理努力参数在快速模型上的设置
当使用快速模型时,始终使用默认的推理努力值,而不是从请求体中读取。这确保了快速模型的一致性行为。
This commit is contained in:
parent
dd8f30f5a8
commit
d9396ef56c
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
|||
2.10.8.4
|
||||
2.10.9
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@ export class CodexApiService {
|
|||
service_tier: cleanedBody.service_tier || defaultServiceTier,
|
||||
reasoning: {
|
||||
...cleanedBody.reasoning,
|
||||
effort: cleanedBody.reasoning?.effort || defaultReasoningEffort
|
||||
effort: isFastModel ? defaultReasoningEffort : cleanedBody.reasoning?.effort
|
||||
},
|
||||
stream,
|
||||
prompt_cache_key: cache.id
|
||||
|
|
|
|||
Loading…
Reference in a new issue