@@ -815,7 +815,6 @@ export namespace Config {
|
|||||||
apiKey: z.string().optional(),
|
apiKey: z.string().optional(),
|
||||||
baseURL: z.string().optional(),
|
baseURL: z.string().optional(),
|
||||||
enterpriseUrl: z.string().optional().describe("GitHub Enterprise URL for copilot authentication"),
|
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)"),
|
setCacheKey: z.boolean().optional().describe("Enable promptCacheKey for this provider (default false)"),
|
||||||
timeout: z
|
timeout: z
|
||||||
.union([
|
.union([
|
||||||
|
|||||||
@@ -486,9 +486,6 @@ export namespace ProviderTransform {
|
|||||||
if (model.providerID === "openai" || providerOptions?.setCacheKey) {
|
if (model.providerID === "openai" || providerOptions?.setCacheKey) {
|
||||||
result["promptCacheKey"] = sessionID
|
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") {
|
if (model.api.npm === "@ai-sdk/google" || model.api.npm === "@ai-sdk/google-vertex") {
|
||||||
result["thinkingConfig"] = {
|
result["thinkingConfig"] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user