|
|
@@ -141,6 +141,12 @@ export namespace ProviderTransform {
|
|
|
result["promptCacheKey"] = sessionID
|
|
|
}
|
|
|
|
|
|
+ if (providerID === "google") {
|
|
|
+ result["thinkingConfig"] = {
|
|
|
+ includeThoughts: true,
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
if (modelID.includes("gpt-5") && !modelID.includes("gpt-5-chat")) {
|
|
|
if (modelID.includes("codex")) {
|
|
|
result["store"] = false
|
|
|
@@ -178,6 +184,10 @@ export namespace ProviderTransform {
|
|
|
return {
|
|
|
["anthropic" as string]: options,
|
|
|
}
|
|
|
+ case "@ai-sdk/google":
|
|
|
+ return {
|
|
|
+ ["google" as string]: options,
|
|
|
+ }
|
|
|
case "@ai-sdk/gateway":
|
|
|
return {
|
|
|
["gateway" as string]: options,
|