update logic for local and dev providers

pull/4607/head
Frank 2025-11-21 13:31:30 -05:00
parent 26ec87803a
commit e34df15ff5
1 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ export namespace ProviderTransform {
result["promptCacheKey"] = sessionID
}
if (providerID === "google" || (providerID === "opencode" && modelID.includes("gemini-3"))) {
if (providerID === "google" || (providerID.startsWith("opencode") && modelID.includes("gemini-3"))) {
result["thinkingConfig"] = {
includeThoughts: true,
}
@ -166,7 +166,7 @@ export namespace ProviderTransform {
result["textVerbosity"] = "low"
}
if (providerID === "opencode") {
if (providerID.startsWith("opencode")) {
result["promptCacheKey"] = sessionID
result["include"] = ["reasoning.encrypted_content"]
result["reasoningSummary"] = "auto"