mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 23:04:41 +00:00
Fix GPT-5 no-reasoning mode. Somewhat. There's no real off-switch ...
This commit is contained in:
parent
0f7ed33ba5
commit
f55985f633
2 changed files with 75 additions and 63 deletions
|
|
@ -337,11 +337,6 @@ function buildParams(model: Model<"openai-responses">, context: Context, options
|
|||
};
|
||||
params.include = ["reasoning.encrypted_content"];
|
||||
} else {
|
||||
params.reasoning = {
|
||||
effort: model.name.startsWith("gpt-5") ? "minimal" : null,
|
||||
summary: null,
|
||||
};
|
||||
|
||||
if (model.name.startsWith("gpt-5")) {
|
||||
// Jesus Christ, see https://community.openai.com/t/need-reasoning-false-option-for-gpt-5/1351588/7
|
||||
messages.push({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue