Preserve thinking content for providers that require it (#8857)

Signed-off-by: jh-block <jhugo@block.xyz>
This commit is contained in:
jh-block
2026-05-15 12:36:25 +02:00
committed by GitHub
parent 401f8e86ba
commit 537eb23fb2
28 changed files with 1117 additions and 46 deletions
@@ -106,6 +106,7 @@ describe("custom provider API", () => {
headers: input.headers ?? {},
apiKeyEnv: "ACME_AI_API_KEY",
apiKeySet: true,
preservesThinking: true,
},
editable: true,
status: { providerId: "acme_ai", isConfigured: true },
@@ -84,6 +84,7 @@ describe("useCustomProviders", () => {
headers: {},
requiresAuth: true,
apiKeySet: true,
preservesThinking: true,
},
editable: true,
status: { providerId: "acme_ai", isConfigured: true },
@@ -118,6 +118,7 @@ describe("custom provider helper functions", () => {
basePath: "/v1",
apiKeyEnv: "ACME_AI_API_KEY",
apiKeySet: true,
preservesThinking: true,
},
editable: true,
status: { providerId: "acme_ai", isConfigured: true },