Selaa lähdekoodia

add patch for .d.ts

Aiden Cline 3 kuukautta sitten
vanhempi
sitoutus
b00a8500ed
1 muutettua tiedostoa jossa 28 lisäystä ja 0 poistoa
  1. 28 0
      patches/@ai-sdk%2Fanthropic@3.0.71.patch

+ 28 - 0
patches/@ai-sdk%2Fanthropic@3.0.71.patch

@@ -48,6 +48,34 @@ diff --git a/dist/index.mjs b/dist/index.mjs
            ...(anthropicOptions == null ? void 0 : anthropicOptions.effort) && {
            ...(anthropicOptions == null ? void 0 : anthropicOptions.effort) && {
              effort: anthropicOptions.effort
              effort: anthropicOptions.effort
            },
            },
+diff --git a/dist/index.d.ts b/dist/index.d.ts
+--- a/dist/index.d.ts
++++ b/dist/index.d.ts
+@@ -178,9 +178,10 @@ declare const anthropicLanguageModelOptions: z.ZodObject<{
+         high: "high";
+         xhigh: "xhigh";
+         max: "max";
+     }>>;
++    output_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
+     taskBudget: z.ZodOptional<z.ZodObject<{
+         type: z.ZodLiteral<"tokens">;
+         total: z.ZodNumber;
+         remaining: z.ZodOptional<z.ZodNumber>;
+     }, z.core.$strip>>;
+diff --git a/dist/index.d.mts b/dist/index.d.mts
+--- a/dist/index.d.mts
++++ b/dist/index.d.mts
+@@ -178,9 +178,10 @@ declare const anthropicLanguageModelOptions: z.ZodObject<{
+         high: "high";
+         xhigh: "xhigh";
+         max: "max";
+     }>>;
++    output_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
+     taskBudget: z.ZodOptional<z.ZodObject<{
+         type: z.ZodLiteral<"tokens">;
+         total: z.ZodNumber;
+         remaining: z.ZodOptional<z.ZodNumber>;
+     }, z.core.$strip>>;
 diff --git a/dist/internal/index.js b/dist/internal/index.js
 diff --git a/dist/internal/index.js b/dist/internal/index.js
 --- a/dist/internal/index.js
 --- a/dist/internal/index.js
 +++ b/dist/internal/index.js
 +++ b/dist/internal/index.js