@google/genai 2.4.0 → 2.5.0
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/genai.d.ts +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.mjs +1 -1
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/node.d.ts +4 -4
- package/dist/tokenizer/node.mjs.map +1 -1
- package/dist/vertex_internal/index.cjs +1 -1
- package/dist/vertex_internal/index.cjs.map +1 -1
- package/dist/vertex_internal/index.d.ts +1 -1
- package/dist/vertex_internal/index.js +1 -1
- package/dist/vertex_internal/index.js.map +1 -1
- package/dist/web/index.mjs +1 -1
- package/dist/web/index.mjs.map +1 -1
- package/dist/web/web.d.ts +4 -4
- package/package.json +1 -1
package/dist/node/node.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ declare interface Agent {
|
|
|
84
84
|
/**
|
|
85
85
|
* The environment configuration for the agent.
|
|
86
86
|
*/
|
|
87
|
-
base_environment?:
|
|
87
|
+
base_environment?: InteractionsAPI.Environment | string;
|
|
88
88
|
/**
|
|
89
89
|
* Agent description for developers to quickly read and understand.
|
|
90
90
|
*/
|
|
@@ -164,7 +164,7 @@ declare interface AgentCreateParams {
|
|
|
164
164
|
/**
|
|
165
165
|
* Body param: The environment configuration for the agent.
|
|
166
166
|
*/
|
|
167
|
-
base_environment?:
|
|
167
|
+
base_environment?: InteractionsAPI.Environment | string;
|
|
168
168
|
/**
|
|
169
169
|
* Body param: Agent description for developers to quickly read and understand.
|
|
170
170
|
*/
|
|
@@ -1447,7 +1447,7 @@ export declare interface BatchJobOutputInfo {
|
|
|
1447
1447
|
vertexMultimodalDatasetName?: string;
|
|
1448
1448
|
/** The full path of the Cloud Storage directory created, into which the prediction output is written. */
|
|
1449
1449
|
gcsOutputDirectory?: string;
|
|
1450
|
-
/** The name of the BigQuery table created, in `
|
|
1450
|
+
/** The name of the BigQuery table created, in `predictions_TIMESTAMP` format, into which the prediction output is written. */
|
|
1451
1451
|
bigqueryOutputTable?: string;
|
|
1452
1452
|
}
|
|
1453
1453
|
|
|
@@ -8284,7 +8284,7 @@ export declare interface Model {
|
|
|
8284
8284
|
* The model that will complete your prompt.\n\nSee
|
|
8285
8285
|
* [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
|
|
8286
8286
|
*/
|
|
8287
|
-
declare type Model_2 = 'gemini-2.5-computer-use-preview-10-2025' | 'gemini-2.5-flash' | 'gemini-2.5-flash-image' | 'gemini-2.5-flash-lite' | 'gemini-2.5-flash-lite-preview-09-2025' | 'gemini-2.5-flash-native-audio-preview-12-2025' | 'gemini-2.5-flash-preview-09-2025' | 'gemini-2.5-flash-preview-tts' | 'gemini-2.5-pro' | 'gemini-2.5-pro-preview-tts' | 'gemini-3-flash-preview' | 'gemini-3-pro-image-preview' | 'gemini-3-pro-preview' | 'gemini-3.1-pro-preview' | 'gemini-3.1-flash-image-preview' | 'gemini-3.1-flash-lite' | 'gemini-3.1-flash-lite-preview' | 'gemini-3.1-flash-tts-preview' | 'lyria-3-clip-preview' | 'lyria-3-pro-preview' | (string & {});
|
|
8287
|
+
declare type Model_2 = 'gemini-2.5-computer-use-preview-10-2025' | 'gemini-2.5-flash' | 'gemini-2.5-flash-image' | 'gemini-2.5-flash-lite' | 'gemini-2.5-flash-lite-preview-09-2025' | 'gemini-2.5-flash-native-audio-preview-12-2025' | 'gemini-2.5-flash-preview-09-2025' | 'gemini-2.5-flash-preview-tts' | 'gemini-2.5-pro' | 'gemini-2.5-pro-preview-tts' | 'gemini-3-flash-preview' | 'gemini-3-pro-image-preview' | 'gemini-3-pro-preview' | 'gemini-3.1-pro-preview' | 'gemini-3.1-flash-image-preview' | 'gemini-3.1-flash-lite' | 'gemini-3.1-flash-lite-preview' | 'gemini-3.1-flash-tts-preview' | 'lyria-3-clip-preview' | 'lyria-3-pro-preview' | 'gemini-3.5-flash' | (string & {});
|
|
8288
8288
|
|
|
8289
8289
|
/** Configuration for Model Armor. Model Armor is a Google Cloud service that provides safety and security filtering for prompts and responses. It helps protect your AI applications from risks such as harmful content, sensitive data leakage, and prompt injection attacks. This data type is not supported in Gemini API. */
|
|
8290
8290
|
export declare interface ModelArmorConfig {
|