@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.
- package/CHANGELOG.md +14 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.js +5 -1
- package/dist/internal/index.js.map +1 -1
- package/docs/15-google.mdx +1 -1
- package/package.json +3 -3
- package/src/google-language-model-options.ts +3 -1
package/dist/internal/index.d.ts
CHANGED
|
@@ -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;
|
package/dist/internal/index.js
CHANGED
|
@@ -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([
|
|
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(),
|