@ai-sdk/google 4.0.96 → 4.0.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -138,7 +138,7 @@ export declare class GoogleLanguageModel implements LanguageModelV4 {
138
138
  } | undefined;
139
139
  } | undefined;
140
140
  mediaResolution?: "MEDIA_RESOLUTION_UNSPECIFIED" | "MEDIA_RESOLUTION_LOW" | "MEDIA_RESOLUTION_MEDIUM" | "MEDIA_RESOLUTION_HIGH" | undefined;
141
- responseModalities: ("TEXT" | "IMAGE")[] | undefined;
141
+ responseModalities: ("TEXT" | "IMAGE" | "AUDIO")[] | undefined;
142
142
  thinkingConfig: {
143
143
  thinkingBudget?: number | undefined;
144
144
  includeThoughts?: boolean | undefined;
@@ -615,7 +615,11 @@ function sanitizeDefinition(definition) {
615
615
  //#endregion
616
616
  //#region src/google-language-model-options.ts
617
617
  const googleLanguageModelOptions = lazySchema(() => zodSchema(z.object({
618
- responseModalities: z.array(z.enum(["TEXT", "IMAGE"])).optional(),
618
+ responseModalities: z.array(z.enum([
619
+ "TEXT",
620
+ "IMAGE",
621
+ "AUDIO"
622
+ ])).optional(),
619
623
  thinkingConfig: z.object({
620
624
  thinkingBudget: z.number().optional(),
621
625
  includeThoughts: z.boolean().optional(),