mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
fix codex errors
This commit is contained in:
parent
f40b91ab7a
commit
71b43fd02e
@ -92,14 +92,14 @@ export namespace ProviderTransform {
|
||||
}
|
||||
|
||||
if (modelID.includes("gpt-5") && !modelID.includes("gpt-5-chat")) {
|
||||
result["reasoningEffort"] = "high"
|
||||
result["reasoningEffort"] = "medium"
|
||||
if (providerID !== "azure") {
|
||||
result["textVerbosity"] = "low"
|
||||
result["textVerbosity"] = modelID.includes("codex") ? "medium" : "low"
|
||||
}
|
||||
if (providerID === "opencode") {
|
||||
result["promptCacheKey"] = sessionID
|
||||
// result["include"] = ["reasoning.encrypted_content"]
|
||||
// result["reasoningSummary"] = "detailed"
|
||||
// result["reasoningSummary"] = "auto"
|
||||
}
|
||||
}
|
||||
return result
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user