tweak: adjust textVerbosity and reasoningEffort defaults to better match codex cli
This commit is contained in:
@@ -580,15 +580,15 @@ export namespace ProviderTransform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (input.model.api.id.includes("gpt-5") && !input.model.api.id.includes("gpt-5-chat")) {
|
if (input.model.api.id.includes("gpt-5") && !input.model.api.id.includes("gpt-5-chat")) {
|
||||||
if (input.model.providerID.includes("codex")) {
|
if (!input.model.api.id.includes("gpt-5-pro")) {
|
||||||
result["store"] = false
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!input.model.api.id.includes("codex") && !input.model.api.id.includes("gpt-5-pro")) {
|
|
||||||
result["reasoningEffort"] = "medium"
|
result["reasoningEffort"] = "medium"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (input.model.api.id.endsWith("gpt-5.") && input.model.providerID !== "azure") {
|
if (
|
||||||
|
input.model.api.id.includes("gpt-5.") &&
|
||||||
|
!input.model.api.id.includes("codex") &&
|
||||||
|
input.model.providerID !== "azure"
|
||||||
|
) {
|
||||||
result["textVerbosity"] = "low"
|
result["textVerbosity"] = "low"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user