@ai-sdk/google 3.0.65 → 3.0.66
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 +9 -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/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "@ai-sdk/provider-utils";
|
|
8
8
|
|
|
9
9
|
// src/version.ts
|
|
10
|
-
var VERSION = true ? "3.0.
|
|
10
|
+
var VERSION = true ? "3.0.66" : "0.0.0-test";
|
|
11
11
|
|
|
12
12
|
// src/google-generative-ai-embedding-model.ts
|
|
13
13
|
import {
|
|
@@ -708,7 +708,10 @@ function getModelPath(modelId) {
|
|
|
708
708
|
}
|
|
709
709
|
|
|
710
710
|
// src/google-generative-ai-options.ts
|
|
711
|
-
import {
|
|
711
|
+
import {
|
|
712
|
+
lazySchema as lazySchema4,
|
|
713
|
+
zodSchema as zodSchema4
|
|
714
|
+
} from "@ai-sdk/provider-utils";
|
|
712
715
|
import { z as z4 } from "zod/v4";
|
|
713
716
|
var googleLanguageModelOptions = lazySchema4(
|
|
714
717
|
() => zodSchema4(
|