@verbatra/sdk 0.13.1 → 0.13.2
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/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -4728,12 +4728,13 @@ var geminiConfigSchema = zod.z.object({
|
|
|
4728
4728
|
model: zod.z.string().min(1),
|
|
4729
4729
|
maxOutputTokens: zod.z.number().int().positive()
|
|
4730
4730
|
}).extend(requestTimeoutConfigSchema.shape).extend(localeMapConfigSchema.shape);
|
|
4731
|
+
var GEMINI_API_VERSION = "v1beta";
|
|
4731
4732
|
function createDefaultClient3(network) {
|
|
4732
4733
|
const transport = geminiTransport(network);
|
|
4733
4734
|
const apiKey = requireGeminiKey();
|
|
4734
4735
|
const loadClient = memoizeAsync(async () => {
|
|
4735
4736
|
const { GoogleGenAI } = await loadSdkModule("@google/genai", () => import('@google/genai'));
|
|
4736
|
-
return new GoogleGenAI({ apiKey, ...transport.options });
|
|
4737
|
+
return new GoogleGenAI({ apiKey, apiVersion: GEMINI_API_VERSION, ...transport.options });
|
|
4737
4738
|
});
|
|
4738
4739
|
return {
|
|
4739
4740
|
models: {
|