Revert "feat: allow provider-level store option (#8000)" (#8613)

This commit is contained in:
Aiden Cline
2026-01-14 22:45:03 -08:00
committed by GitHub
parent b2da41cfad
commit 16cac69a72
2 changed files with 0 additions and 4 deletions

View File

@@ -815,7 +815,6 @@ export namespace Config {
apiKey: z.string().optional(),
baseURL: z.string().optional(),
enterpriseUrl: z.string().optional().describe("GitHub Enterprise URL for copilot authentication"),
store: z.boolean().optional().describe("Set the OpenAI Responses store flag for this provider"),
setCacheKey: z.boolean().optional().describe("Enable promptCacheKey for this provider (default false)"),
timeout: z
.union([

View File

@@ -486,9 +486,6 @@ export namespace ProviderTransform {
if (model.providerID === "openai" || providerOptions?.setCacheKey) {
result["promptCacheKey"] = sessionID
}
if (typeof providerOptions?.store === "boolean") {
result["store"] = providerOptions.store
}
if (model.api.npm === "@ai-sdk/google" || model.api.npm === "@ai-sdk/google-vertex") {
result["thinkingConfig"] = {