@ai-sdk/google 3.0.65 → 3.0.67
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 +16 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +4 -1
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/convert-google-generative-ai-usage.ts +1 -1
- package/src/convert-json-schema-to-openapi-schema.ts +1 -1
- package/src/convert-to-google-generative-ai-messages.ts +2 -2
- package/src/google-generative-ai-embedding-model.ts +3 -3
- package/src/google-generative-ai-image-model.ts +5 -5
- package/src/google-generative-ai-language-model.ts +12 -9
- package/src/google-generative-ai-options.ts +5 -1
- package/src/google-generative-ai-prompt.ts +4 -4
- package/src/google-prepare-tools.ts +3 -3
- package/src/google-provider.ts +6 -6
- package/src/map-google-generative-ai-finish-reason.ts +1 -1
package/dist/internal/index.mjs
CHANGED
|
@@ -497,7 +497,10 @@ var googleFailedResponseHandler = createJsonErrorResponseHandler({
|
|
|
497
497
|
});
|
|
498
498
|
|
|
499
499
|
// src/google-generative-ai-options.ts
|
|
500
|
-
import {
|
|
500
|
+
import {
|
|
501
|
+
lazySchema as lazySchema2,
|
|
502
|
+
zodSchema as zodSchema2
|
|
503
|
+
} from "@ai-sdk/provider-utils";
|
|
501
504
|
import { z as z2 } from "zod/v4";
|
|
502
505
|
var googleLanguageModelOptions = lazySchema2(
|
|
503
506
|
() => zodSchema2(
|