@langchain/google 0.1.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/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +97 -0
- package/dist/_virtual/rolldown_runtime.cjs +25 -0
- package/dist/chat_models/api-types.d.cts +1506 -0
- package/dist/chat_models/api-types.d.ts +1506 -0
- package/dist/chat_models/base.cjs +445 -0
- package/dist/chat_models/base.cjs.map +1 -0
- package/dist/chat_models/base.d.cts +319 -0
- package/dist/chat_models/base.d.ts +319 -0
- package/dist/chat_models/base.js +442 -0
- package/dist/chat_models/base.js.map +1 -0
- package/dist/chat_models/index.cjs +23 -0
- package/dist/chat_models/index.cjs.map +1 -0
- package/dist/chat_models/index.d.cts +39 -0
- package/dist/chat_models/index.d.ts +39 -0
- package/dist/chat_models/index.js +22 -0
- package/dist/chat_models/index.js.map +1 -0
- package/dist/chat_models/node.cjs +35 -0
- package/dist/chat_models/node.cjs.map +1 -0
- package/dist/chat_models/node.d.cts +13 -0
- package/dist/chat_models/node.d.ts +13 -0
- package/dist/chat_models/node.js +34 -0
- package/dist/chat_models/node.js.map +1 -0
- package/dist/chat_models/profiles.cjs +373 -0
- package/dist/chat_models/profiles.cjs.map +1 -0
- package/dist/chat_models/profiles.js +372 -0
- package/dist/chat_models/profiles.js.map +1 -0
- package/dist/chat_models/types.d.cts +250 -0
- package/dist/chat_models/types.d.ts +250 -0
- package/dist/clients/index.cjs +219 -0
- package/dist/clients/index.cjs.map +1 -0
- package/dist/clients/index.d.cts +49 -0
- package/dist/clients/index.d.ts +49 -0
- package/dist/clients/index.js +217 -0
- package/dist/clients/index.js.map +1 -0
- package/dist/clients/node.cjs +327 -0
- package/dist/clients/node.cjs.map +1 -0
- package/dist/clients/node.d.cts +59 -0
- package/dist/clients/node.d.ts +59 -0
- package/dist/clients/node.js +325 -0
- package/dist/clients/node.js.map +1 -0
- package/dist/const.cjs +13 -0
- package/dist/const.cjs.map +1 -0
- package/dist/const.js +9 -0
- package/dist/const.js.map +1 -0
- package/dist/converters/messages.cjs +697 -0
- package/dist/converters/messages.cjs.map +1 -0
- package/dist/converters/messages.js +691 -0
- package/dist/converters/messages.js.map +1 -0
- package/dist/converters/params.cjs +205 -0
- package/dist/converters/params.cjs.map +1 -0
- package/dist/converters/params.js +202 -0
- package/dist/converters/params.js.map +1 -0
- package/dist/converters/tools.cjs +356 -0
- package/dist/converters/tools.cjs.map +1 -0
- package/dist/converters/tools.js +353 -0
- package/dist/converters/tools.js.map +1 -0
- package/dist/index.cjs +7 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +4 -0
- package/dist/node.cjs +7 -0
- package/dist/node.d.cts +3 -0
- package/dist/node.d.ts +3 -0
- package/dist/node.js +4 -0
- package/dist/utils/errors.cjs +543 -0
- package/dist/utils/errors.cjs.map +1 -0
- package/dist/utils/errors.js +535 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/gcp-auth.cjs +188 -0
- package/dist/utils/gcp-auth.cjs.map +1 -0
- package/dist/utils/gcp-auth.d.cts +43 -0
- package/dist/utils/gcp-auth.d.ts +43 -0
- package/dist/utils/gcp-auth.js +186 -0
- package/dist/utils/gcp-auth.js.map +1 -0
- package/dist/utils/handler.cjs +67 -0
- package/dist/utils/handler.cjs.map +1 -0
- package/dist/utils/handler.d.cts +34 -0
- package/dist/utils/handler.d.ts +34 -0
- package/dist/utils/handler.js +64 -0
- package/dist/utils/handler.js.map +1 -0
- package/dist/utils/misc.cjs +10 -0
- package/dist/utils/misc.cjs.map +1 -0
- package/dist/utils/misc.d.cts +14 -0
- package/dist/utils/misc.d.ts +14 -0
- package/dist/utils/misc.js +9 -0
- package/dist/utils/misc.js.map +1 -0
- package/dist/utils/stream.cjs +26 -0
- package/dist/utils/stream.cjs.map +1 -0
- package/dist/utils/stream.js +25 -0
- package/dist/utils/stream.js.map +1 -0
- package/package.json +96 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { WebApiClient } from "../clients/index.js";
|
|
2
|
+
import { BaseChatGoogle, getGoogleChatModelParams } from "./base.js";
|
|
3
|
+
import { getEnvironmentVariable } from "@langchain/core/utils/env";
|
|
4
|
+
|
|
5
|
+
//#region src/chat_models/index.ts
|
|
6
|
+
var ChatGoogle = class extends BaseChatGoogle {
|
|
7
|
+
apiKey;
|
|
8
|
+
constructor(modelOrParams, paramsArg) {
|
|
9
|
+
const params = getGoogleChatModelParams(modelOrParams, paramsArg);
|
|
10
|
+
params.apiKey = params?.apiKey ?? getEnvironmentVariable("GOOGLE_API_KEY");
|
|
11
|
+
const apiClient = params?.apiClient ?? new WebApiClient(params);
|
|
12
|
+
super({
|
|
13
|
+
...params,
|
|
14
|
+
apiClient
|
|
15
|
+
});
|
|
16
|
+
this.apiKey = params.apiKey;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ChatGoogle };
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["modelOrParams: string | ChatGoogleParams","paramsArg?: Omit<ChatGoogleParams, \"model\">"],"sources":["../../src/chat_models/index.ts"],"sourcesContent":["import { getEnvironmentVariable } from \"@langchain/core/utils/env\";\nimport { WebApiClient } from \"../clients/index.js\";\nimport {\n BaseChatGoogle,\n BaseChatGoogleCallOptions,\n BaseChatGoogleParams,\n getGoogleChatModelParams,\n} from \"./base.js\";\n\n/**\n * Configuration parameters for the ChatGoogle model.\n *\n * This interface extends the base Google chat model parameters and adds\n * specific configuration options for the Generative AI API.\n */\nexport interface ChatGoogleParams extends BaseChatGoogleParams {\n /**\n * Google API key for authentication with the Generative AI API.\n *\n * If not provided, the model will attempt to use the `GOOGLE_API_KEY`\n * environment variable. You can obtain an API key from the\n * [Google AI Studio](https://makersuite.google.com/app/apikey).\n */\n apiKey?: string;\n\n /** @deprecated Import from `@langchain/google/node` to configure google auth options */\n authOptions?: never;\n}\n\n/**\n * Call options for the ChatGoogle model.\n *\n * This interface extends the base Google chat model call options and provides\n * configuration for individual model invocations. These options can be passed\n * when calling methods like `invoke()`, `stream()`, or `batch()` to customize\n * the behavior of a specific request.\n */\nexport interface ChatGoogleCallOptions extends BaseChatGoogleCallOptions {}\n\nexport class ChatGoogle extends BaseChatGoogle<ChatGoogleCallOptions> {\n apiKey?: string;\n\n constructor(model: string, params?: Omit<ChatGoogleParams, \"model\">);\n constructor(params: ChatGoogleParams);\n constructor(\n modelOrParams: string | ChatGoogleParams,\n paramsArg?: Omit<ChatGoogleParams, \"model\">\n ) {\n const params = getGoogleChatModelParams(modelOrParams, paramsArg);\n params.apiKey = params?.apiKey ?? getEnvironmentVariable(\"GOOGLE_API_KEY\");\n const apiClient = params?.apiClient ?? new WebApiClient(params);\n super({ ...params, apiClient });\n\n this.apiKey = params.apiKey;\n }\n}\n"],"mappings":";;;;;AAuCA,IAAa,aAAb,cAAgC,eAAsC;CACpE;CAIA,YACEA,eACAC,WACA;EACA,MAAM,SAAS,yBAAyB,eAAe,UAAU;EACjE,OAAO,SAAS,QAAQ,UAAU,uBAAuB,iBAAiB;EAC1E,MAAM,YAAY,QAAQ,aAAa,IAAI,aAAa;EACxD,MAAM;GAAE,GAAG;GAAQ;EAAW,EAAC;EAE/B,KAAK,SAAS,OAAO;CACtB;AACF"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_const = require('../const.cjs');
|
|
3
|
+
const require_params = require('../converters/params.cjs');
|
|
4
|
+
const require_base = require('./base.cjs');
|
|
5
|
+
const require_node = require('../clients/node.cjs');
|
|
6
|
+
const __langchain_core_utils_env = require_rolldown_runtime.__toESM(require("@langchain/core/utils/env"));
|
|
7
|
+
|
|
8
|
+
//#region src/chat_models/node.ts
|
|
9
|
+
var ChatGoogleNode = class extends require_base.BaseChatGoogle {
|
|
10
|
+
constructor(modelOrParams, paramsArg) {
|
|
11
|
+
const params = require_base.getGoogleChatModelParams(modelOrParams, paramsArg);
|
|
12
|
+
if (!params.googleAuthOptions) params.apiKey = params.apiKey ?? (0, __langchain_core_utils_env.getEnvironmentVariable)("GOOGLE_API_KEY");
|
|
13
|
+
const requiredScopes = getRequiredAuthScopes(params);
|
|
14
|
+
if (params.googleAuthOptions) params.googleAuthOptions = require_node.ensureAuthScopes(params.googleAuthOptions, requiredScopes);
|
|
15
|
+
const apiClient = params?.apiClient ?? new require_node.NodeApiClient(params);
|
|
16
|
+
super({
|
|
17
|
+
...params,
|
|
18
|
+
apiClient
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
function getRequiredAuthScopes(params) {
|
|
23
|
+
const hasApiKey = typeof params.apiKey !== "undefined";
|
|
24
|
+
const platformType = require_params.convertParamsToPlatformType(params);
|
|
25
|
+
const platform = require_base.getPlatformType(platformType, hasApiKey);
|
|
26
|
+
switch (platform) {
|
|
27
|
+
case "gai": return require_const.GENERATIVE_AI_AUTH_SCOPES;
|
|
28
|
+
case "gcp": return require_const.VERTEX_AI_AUTH_SCOPES;
|
|
29
|
+
default: return require_const.VERTEX_AI_AUTH_SCOPES;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.ChatGoogleNode = ChatGoogleNode;
|
|
35
|
+
//# sourceMappingURL=node.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.cjs","names":["BaseChatGoogle","modelOrParams: string | ChatGoogleNodeParams","paramsArg?: Omit<ChatGoogleNodeParams, \"model\">","getGoogleChatModelParams","requiredScopes: string[]","ensureAuthScopes","NodeApiClient","params: ChatGoogleNodeParams","convertParamsToPlatformType","getPlatformType","GENERATIVE_AI_AUTH_SCOPES","VERTEX_AI_AUTH_SCOPES"],"sources":["../../src/chat_models/node.ts"],"sourcesContent":["import { getEnvironmentVariable } from \"@langchain/core/utils/env\";\nimport { ChatGoogleParams } from \"./index.js\";\nimport {\n BaseChatGoogle,\n getGoogleChatModelParams,\n getPlatformType,\n} from \"./base.js\";\nimport { GENERATIVE_AI_AUTH_SCOPES, VERTEX_AI_AUTH_SCOPES } from \"../const.js\";\nimport {\n ensureAuthScopes,\n NodeApiClient,\n NodeApiClientParams,\n} from \"../clients/node.js\";\nimport { convertParamsToPlatformType } from \"../converters/params.js\";\n\ninterface ChatGoogleNodeParams extends NodeApiClientParams, ChatGoogleParams {}\n\nclass ChatGoogleNode extends BaseChatGoogle {\n constructor(model: string, params?: Omit<ChatGoogleNodeParams, \"model\">);\n constructor(params: ChatGoogleNodeParams);\n constructor(\n modelOrParams: string | ChatGoogleNodeParams,\n paramsArg?: Omit<ChatGoogleNodeParams, \"model\">\n ) {\n const params = getGoogleChatModelParams(modelOrParams, paramsArg);\n if (!params.googleAuthOptions) {\n params.apiKey = params.apiKey ?? getEnvironmentVariable(\"GOOGLE_API_KEY\");\n }\n const requiredScopes: string[] = getRequiredAuthScopes(params);\n if (params.googleAuthOptions) {\n params.googleAuthOptions = ensureAuthScopes(\n params.googleAuthOptions,\n requiredScopes\n );\n }\n const apiClient = params?.apiClient ?? new NodeApiClient(params);\n super({ ...params, apiClient });\n }\n}\n\nfunction getRequiredAuthScopes(params: ChatGoogleNodeParams): string[] {\n const hasApiKey = typeof params.apiKey !== \"undefined\";\n const platformType = convertParamsToPlatformType(params);\n const platform = getPlatformType(platformType, hasApiKey);\n switch (platform) {\n case \"gai\":\n return GENERATIVE_AI_AUTH_SCOPES;\n case \"gcp\":\n return VERTEX_AI_AUTH_SCOPES;\n default:\n return VERTEX_AI_AUTH_SCOPES;\n }\n}\n\nexport {\n type ChatGoogleNodeParams as ChatGoogleParams,\n ChatGoogleNode as ChatGoogle,\n};\n"],"mappings":";;;;;;;;AAiBA,IAAM,iBAAN,cAA6BA,4BAAe;CAG1C,YACEC,eACAC,WACA;EACA,MAAM,SAASC,sCAAyB,eAAe,UAAU;AACjE,MAAI,CAAC,OAAO,mBACV,OAAO,SAAS,OAAO,iEAAiC,iBAAiB;EAE3E,MAAMC,iBAA2B,sBAAsB,OAAO;AAC9D,MAAI,OAAO,mBACT,OAAO,oBAAoBC,8BACzB,OAAO,mBACP,eACD;EAEH,MAAM,YAAY,QAAQ,aAAa,IAAIC,2BAAc;EACzD,MAAM;GAAE,GAAG;GAAQ;EAAW,EAAC;CAChC;AACF;AAED,SAAS,sBAAsBC,QAAwC;CACrE,MAAM,YAAY,OAAO,OAAO,WAAW;CAC3C,MAAM,eAAeC,2CAA4B,OAAO;CACxD,MAAM,WAAWC,6BAAgB,cAAc,UAAU;AACzD,SAAQ,UAAR;EACE,KAAK,MACH,QAAOC;EACT,KAAK,MACH,QAAOC;EACT,QACE,QAAOA;CACV;AACF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseChatGoogle } from "./base.cjs";
|
|
2
|
+
import { ChatGoogleParams } from "./index.cjs";
|
|
3
|
+
import { NodeApiClientParams } from "../clients/node.cjs";
|
|
4
|
+
|
|
5
|
+
//#region src/chat_models/node.d.ts
|
|
6
|
+
interface ChatGoogleNodeParams extends NodeApiClientParams, ChatGoogleParams {}
|
|
7
|
+
declare class ChatGoogleNode extends BaseChatGoogle {
|
|
8
|
+
constructor(model: string, params?: Omit<ChatGoogleNodeParams, "model">);
|
|
9
|
+
constructor(params: ChatGoogleNodeParams);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ChatGoogleNode, ChatGoogleNodeParams };
|
|
13
|
+
//# sourceMappingURL=node.d.cts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseChatGoogle } from "./base.js";
|
|
2
|
+
import { ChatGoogleParams } from "./index.js";
|
|
3
|
+
import { NodeApiClientParams } from "../clients/node.js";
|
|
4
|
+
|
|
5
|
+
//#region src/chat_models/node.d.ts
|
|
6
|
+
interface ChatGoogleNodeParams extends NodeApiClientParams, ChatGoogleParams {}
|
|
7
|
+
declare class ChatGoogleNode extends BaseChatGoogle {
|
|
8
|
+
constructor(model: string, params?: Omit<ChatGoogleNodeParams, "model">);
|
|
9
|
+
constructor(params: ChatGoogleNodeParams);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ChatGoogleNode, ChatGoogleNodeParams };
|
|
13
|
+
//# sourceMappingURL=node.d.ts.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { GENERATIVE_AI_AUTH_SCOPES, VERTEX_AI_AUTH_SCOPES } from "../const.js";
|
|
2
|
+
import { convertParamsToPlatformType } from "../converters/params.js";
|
|
3
|
+
import { BaseChatGoogle, getGoogleChatModelParams, getPlatformType } from "./base.js";
|
|
4
|
+
import { NodeApiClient, ensureAuthScopes } from "../clients/node.js";
|
|
5
|
+
import { getEnvironmentVariable } from "@langchain/core/utils/env";
|
|
6
|
+
|
|
7
|
+
//#region src/chat_models/node.ts
|
|
8
|
+
var ChatGoogleNode = class extends BaseChatGoogle {
|
|
9
|
+
constructor(modelOrParams, paramsArg) {
|
|
10
|
+
const params = getGoogleChatModelParams(modelOrParams, paramsArg);
|
|
11
|
+
if (!params.googleAuthOptions) params.apiKey = params.apiKey ?? getEnvironmentVariable("GOOGLE_API_KEY");
|
|
12
|
+
const requiredScopes = getRequiredAuthScopes(params);
|
|
13
|
+
if (params.googleAuthOptions) params.googleAuthOptions = ensureAuthScopes(params.googleAuthOptions, requiredScopes);
|
|
14
|
+
const apiClient = params?.apiClient ?? new NodeApiClient(params);
|
|
15
|
+
super({
|
|
16
|
+
...params,
|
|
17
|
+
apiClient
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
function getRequiredAuthScopes(params) {
|
|
22
|
+
const hasApiKey = typeof params.apiKey !== "undefined";
|
|
23
|
+
const platformType = convertParamsToPlatformType(params);
|
|
24
|
+
const platform = getPlatformType(platformType, hasApiKey);
|
|
25
|
+
switch (platform) {
|
|
26
|
+
case "gai": return GENERATIVE_AI_AUTH_SCOPES;
|
|
27
|
+
case "gcp": return VERTEX_AI_AUTH_SCOPES;
|
|
28
|
+
default: return VERTEX_AI_AUTH_SCOPES;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ChatGoogleNode };
|
|
34
|
+
//# sourceMappingURL=node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.js","names":["modelOrParams: string | ChatGoogleNodeParams","paramsArg?: Omit<ChatGoogleNodeParams, \"model\">","requiredScopes: string[]","params: ChatGoogleNodeParams"],"sources":["../../src/chat_models/node.ts"],"sourcesContent":["import { getEnvironmentVariable } from \"@langchain/core/utils/env\";\nimport { ChatGoogleParams } from \"./index.js\";\nimport {\n BaseChatGoogle,\n getGoogleChatModelParams,\n getPlatformType,\n} from \"./base.js\";\nimport { GENERATIVE_AI_AUTH_SCOPES, VERTEX_AI_AUTH_SCOPES } from \"../const.js\";\nimport {\n ensureAuthScopes,\n NodeApiClient,\n NodeApiClientParams,\n} from \"../clients/node.js\";\nimport { convertParamsToPlatformType } from \"../converters/params.js\";\n\ninterface ChatGoogleNodeParams extends NodeApiClientParams, ChatGoogleParams {}\n\nclass ChatGoogleNode extends BaseChatGoogle {\n constructor(model: string, params?: Omit<ChatGoogleNodeParams, \"model\">);\n constructor(params: ChatGoogleNodeParams);\n constructor(\n modelOrParams: string | ChatGoogleNodeParams,\n paramsArg?: Omit<ChatGoogleNodeParams, \"model\">\n ) {\n const params = getGoogleChatModelParams(modelOrParams, paramsArg);\n if (!params.googleAuthOptions) {\n params.apiKey = params.apiKey ?? getEnvironmentVariable(\"GOOGLE_API_KEY\");\n }\n const requiredScopes: string[] = getRequiredAuthScopes(params);\n if (params.googleAuthOptions) {\n params.googleAuthOptions = ensureAuthScopes(\n params.googleAuthOptions,\n requiredScopes\n );\n }\n const apiClient = params?.apiClient ?? new NodeApiClient(params);\n super({ ...params, apiClient });\n }\n}\n\nfunction getRequiredAuthScopes(params: ChatGoogleNodeParams): string[] {\n const hasApiKey = typeof params.apiKey !== \"undefined\";\n const platformType = convertParamsToPlatformType(params);\n const platform = getPlatformType(platformType, hasApiKey);\n switch (platform) {\n case \"gai\":\n return GENERATIVE_AI_AUTH_SCOPES;\n case \"gcp\":\n return VERTEX_AI_AUTH_SCOPES;\n default:\n return VERTEX_AI_AUTH_SCOPES;\n }\n}\n\nexport {\n type ChatGoogleNodeParams as ChatGoogleParams,\n ChatGoogleNode as ChatGoogle,\n};\n"],"mappings":";;;;;;;AAiBA,IAAM,iBAAN,cAA6B,eAAe;CAG1C,YACEA,eACAC,WACA;EACA,MAAM,SAAS,yBAAyB,eAAe,UAAU;AACjE,MAAI,CAAC,OAAO,mBACV,OAAO,SAAS,OAAO,UAAU,uBAAuB,iBAAiB;EAE3E,MAAMC,iBAA2B,sBAAsB,OAAO;AAC9D,MAAI,OAAO,mBACT,OAAO,oBAAoB,iBACzB,OAAO,mBACP,eACD;EAEH,MAAM,YAAY,QAAQ,aAAa,IAAI,cAAc;EACzD,MAAM;GAAE,GAAG;GAAQ;EAAW,EAAC;CAChC;AACF;AAED,SAAS,sBAAsBC,QAAwC;CACrE,MAAM,YAAY,OAAO,OAAO,WAAW;CAC3C,MAAM,eAAe,4BAA4B,OAAO;CACxD,MAAM,WAAW,gBAAgB,cAAc,UAAU;AACzD,SAAQ,UAAR;EACE,KAAK,MACH,QAAO;EACT,KAAK,MACH,QAAO;EACT,QACE,QAAO;CACV;AACF"}
|
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/chat_models/profiles.ts
|
|
3
|
+
const PROFILES = {
|
|
4
|
+
"gemini-embedding-001": {
|
|
5
|
+
maxInputTokens: 2048,
|
|
6
|
+
imageInputs: false,
|
|
7
|
+
audioInputs: false,
|
|
8
|
+
pdfInputs: false,
|
|
9
|
+
videoInputs: false,
|
|
10
|
+
maxOutputTokens: 3072,
|
|
11
|
+
reasoningOutput: false,
|
|
12
|
+
imageOutputs: false,
|
|
13
|
+
audioOutputs: false,
|
|
14
|
+
videoOutputs: false,
|
|
15
|
+
toolCalling: false,
|
|
16
|
+
structuredOutput: false
|
|
17
|
+
},
|
|
18
|
+
"gemini-3-flash-preview": {
|
|
19
|
+
maxInputTokens: 1048576,
|
|
20
|
+
imageInputs: true,
|
|
21
|
+
audioInputs: true,
|
|
22
|
+
pdfInputs: true,
|
|
23
|
+
videoInputs: true,
|
|
24
|
+
maxOutputTokens: 65536,
|
|
25
|
+
reasoningOutput: true,
|
|
26
|
+
imageOutputs: false,
|
|
27
|
+
audioOutputs: false,
|
|
28
|
+
videoOutputs: false,
|
|
29
|
+
toolCalling: true,
|
|
30
|
+
structuredOutput: true
|
|
31
|
+
},
|
|
32
|
+
"gemini-2.5-flash-image": {
|
|
33
|
+
maxInputTokens: 32768,
|
|
34
|
+
imageInputs: true,
|
|
35
|
+
audioInputs: false,
|
|
36
|
+
pdfInputs: false,
|
|
37
|
+
videoInputs: false,
|
|
38
|
+
maxOutputTokens: 32768,
|
|
39
|
+
reasoningOutput: true,
|
|
40
|
+
imageOutputs: true,
|
|
41
|
+
audioOutputs: false,
|
|
42
|
+
videoOutputs: false,
|
|
43
|
+
toolCalling: false,
|
|
44
|
+
structuredOutput: false
|
|
45
|
+
},
|
|
46
|
+
"gemini-2.5-flash-preview-05-20": {
|
|
47
|
+
maxInputTokens: 1048576,
|
|
48
|
+
imageInputs: true,
|
|
49
|
+
audioInputs: true,
|
|
50
|
+
pdfInputs: true,
|
|
51
|
+
videoInputs: true,
|
|
52
|
+
maxOutputTokens: 65536,
|
|
53
|
+
reasoningOutput: true,
|
|
54
|
+
imageOutputs: false,
|
|
55
|
+
audioOutputs: false,
|
|
56
|
+
videoOutputs: false,
|
|
57
|
+
toolCalling: true,
|
|
58
|
+
structuredOutput: true
|
|
59
|
+
},
|
|
60
|
+
"gemini-flash-lite-latest": {
|
|
61
|
+
maxInputTokens: 1048576,
|
|
62
|
+
imageInputs: true,
|
|
63
|
+
audioInputs: true,
|
|
64
|
+
pdfInputs: true,
|
|
65
|
+
videoInputs: true,
|
|
66
|
+
maxOutputTokens: 65536,
|
|
67
|
+
reasoningOutput: true,
|
|
68
|
+
imageOutputs: false,
|
|
69
|
+
audioOutputs: false,
|
|
70
|
+
videoOutputs: false,
|
|
71
|
+
toolCalling: true,
|
|
72
|
+
structuredOutput: true
|
|
73
|
+
},
|
|
74
|
+
"gemini-3-pro-preview": {
|
|
75
|
+
maxInputTokens: 1e6,
|
|
76
|
+
imageInputs: true,
|
|
77
|
+
audioInputs: true,
|
|
78
|
+
pdfInputs: true,
|
|
79
|
+
videoInputs: true,
|
|
80
|
+
maxOutputTokens: 64e3,
|
|
81
|
+
reasoningOutput: true,
|
|
82
|
+
imageOutputs: false,
|
|
83
|
+
audioOutputs: false,
|
|
84
|
+
videoOutputs: false,
|
|
85
|
+
toolCalling: true,
|
|
86
|
+
structuredOutput: true
|
|
87
|
+
},
|
|
88
|
+
"gemini-2.5-flash": {
|
|
89
|
+
maxInputTokens: 1048576,
|
|
90
|
+
imageInputs: true,
|
|
91
|
+
audioInputs: true,
|
|
92
|
+
pdfInputs: true,
|
|
93
|
+
videoInputs: true,
|
|
94
|
+
maxOutputTokens: 65536,
|
|
95
|
+
reasoningOutput: true,
|
|
96
|
+
imageOutputs: false,
|
|
97
|
+
audioOutputs: false,
|
|
98
|
+
videoOutputs: false,
|
|
99
|
+
toolCalling: true,
|
|
100
|
+
structuredOutput: true
|
|
101
|
+
},
|
|
102
|
+
"gemini-flash-latest": {
|
|
103
|
+
maxInputTokens: 1048576,
|
|
104
|
+
imageInputs: true,
|
|
105
|
+
audioInputs: true,
|
|
106
|
+
pdfInputs: true,
|
|
107
|
+
videoInputs: true,
|
|
108
|
+
maxOutputTokens: 65536,
|
|
109
|
+
reasoningOutput: true,
|
|
110
|
+
imageOutputs: false,
|
|
111
|
+
audioOutputs: false,
|
|
112
|
+
videoOutputs: false,
|
|
113
|
+
toolCalling: true,
|
|
114
|
+
structuredOutput: true
|
|
115
|
+
},
|
|
116
|
+
"gemini-2.5-pro-preview-05-06": {
|
|
117
|
+
maxInputTokens: 1048576,
|
|
118
|
+
imageInputs: true,
|
|
119
|
+
audioInputs: true,
|
|
120
|
+
pdfInputs: true,
|
|
121
|
+
videoInputs: true,
|
|
122
|
+
maxOutputTokens: 65536,
|
|
123
|
+
reasoningOutput: true,
|
|
124
|
+
imageOutputs: false,
|
|
125
|
+
audioOutputs: false,
|
|
126
|
+
videoOutputs: false,
|
|
127
|
+
toolCalling: true,
|
|
128
|
+
structuredOutput: true
|
|
129
|
+
},
|
|
130
|
+
"gemini-2.5-flash-preview-tts": {
|
|
131
|
+
maxInputTokens: 8e3,
|
|
132
|
+
imageInputs: false,
|
|
133
|
+
audioInputs: false,
|
|
134
|
+
pdfInputs: false,
|
|
135
|
+
videoInputs: false,
|
|
136
|
+
maxOutputTokens: 16e3,
|
|
137
|
+
reasoningOutput: false,
|
|
138
|
+
imageOutputs: false,
|
|
139
|
+
audioOutputs: true,
|
|
140
|
+
videoOutputs: false,
|
|
141
|
+
toolCalling: false,
|
|
142
|
+
structuredOutput: false
|
|
143
|
+
},
|
|
144
|
+
"gemini-2.0-flash-lite": {
|
|
145
|
+
maxInputTokens: 1048576,
|
|
146
|
+
imageInputs: true,
|
|
147
|
+
audioInputs: true,
|
|
148
|
+
pdfInputs: true,
|
|
149
|
+
videoInputs: true,
|
|
150
|
+
maxOutputTokens: 8192,
|
|
151
|
+
reasoningOutput: false,
|
|
152
|
+
imageOutputs: false,
|
|
153
|
+
audioOutputs: false,
|
|
154
|
+
videoOutputs: false,
|
|
155
|
+
toolCalling: true,
|
|
156
|
+
structuredOutput: true
|
|
157
|
+
},
|
|
158
|
+
"gemini-live-2.5-flash-preview-native-audio": {
|
|
159
|
+
maxInputTokens: 131072,
|
|
160
|
+
imageInputs: false,
|
|
161
|
+
audioInputs: true,
|
|
162
|
+
pdfInputs: false,
|
|
163
|
+
videoInputs: true,
|
|
164
|
+
maxOutputTokens: 65536,
|
|
165
|
+
reasoningOutput: true,
|
|
166
|
+
imageOutputs: false,
|
|
167
|
+
audioOutputs: true,
|
|
168
|
+
videoOutputs: false,
|
|
169
|
+
toolCalling: true,
|
|
170
|
+
structuredOutput: false
|
|
171
|
+
},
|
|
172
|
+
"gemini-2.0-flash": {
|
|
173
|
+
maxInputTokens: 1048576,
|
|
174
|
+
imageInputs: true,
|
|
175
|
+
audioInputs: true,
|
|
176
|
+
pdfInputs: true,
|
|
177
|
+
videoInputs: true,
|
|
178
|
+
maxOutputTokens: 8192,
|
|
179
|
+
reasoningOutput: false,
|
|
180
|
+
imageOutputs: false,
|
|
181
|
+
audioOutputs: false,
|
|
182
|
+
videoOutputs: false,
|
|
183
|
+
toolCalling: true,
|
|
184
|
+
structuredOutput: true
|
|
185
|
+
},
|
|
186
|
+
"gemini-2.5-flash-lite": {
|
|
187
|
+
maxInputTokens: 1048576,
|
|
188
|
+
imageInputs: true,
|
|
189
|
+
audioInputs: true,
|
|
190
|
+
pdfInputs: true,
|
|
191
|
+
videoInputs: true,
|
|
192
|
+
maxOutputTokens: 65536,
|
|
193
|
+
reasoningOutput: true,
|
|
194
|
+
imageOutputs: false,
|
|
195
|
+
audioOutputs: false,
|
|
196
|
+
videoOutputs: false,
|
|
197
|
+
toolCalling: true,
|
|
198
|
+
structuredOutput: true
|
|
199
|
+
},
|
|
200
|
+
"gemini-2.5-pro-preview-06-05": {
|
|
201
|
+
maxInputTokens: 1048576,
|
|
202
|
+
imageInputs: true,
|
|
203
|
+
audioInputs: true,
|
|
204
|
+
pdfInputs: true,
|
|
205
|
+
videoInputs: true,
|
|
206
|
+
maxOutputTokens: 65536,
|
|
207
|
+
reasoningOutput: true,
|
|
208
|
+
imageOutputs: false,
|
|
209
|
+
audioOutputs: false,
|
|
210
|
+
videoOutputs: false,
|
|
211
|
+
toolCalling: true,
|
|
212
|
+
structuredOutput: true
|
|
213
|
+
},
|
|
214
|
+
"gemini-live-2.5-flash": {
|
|
215
|
+
maxInputTokens: 128e3,
|
|
216
|
+
imageInputs: true,
|
|
217
|
+
audioInputs: true,
|
|
218
|
+
pdfInputs: false,
|
|
219
|
+
videoInputs: true,
|
|
220
|
+
maxOutputTokens: 8e3,
|
|
221
|
+
reasoningOutput: true,
|
|
222
|
+
imageOutputs: false,
|
|
223
|
+
audioOutputs: true,
|
|
224
|
+
videoOutputs: false,
|
|
225
|
+
toolCalling: true,
|
|
226
|
+
structuredOutput: false
|
|
227
|
+
},
|
|
228
|
+
"gemini-2.5-flash-lite-preview-06-17": {
|
|
229
|
+
maxInputTokens: 1048576,
|
|
230
|
+
imageInputs: true,
|
|
231
|
+
audioInputs: true,
|
|
232
|
+
pdfInputs: true,
|
|
233
|
+
videoInputs: true,
|
|
234
|
+
maxOutputTokens: 65536,
|
|
235
|
+
reasoningOutput: true,
|
|
236
|
+
imageOutputs: false,
|
|
237
|
+
audioOutputs: false,
|
|
238
|
+
videoOutputs: false,
|
|
239
|
+
toolCalling: true,
|
|
240
|
+
structuredOutput: false
|
|
241
|
+
},
|
|
242
|
+
"gemini-2.5-flash-image-preview": {
|
|
243
|
+
maxInputTokens: 32768,
|
|
244
|
+
imageInputs: true,
|
|
245
|
+
audioInputs: false,
|
|
246
|
+
pdfInputs: false,
|
|
247
|
+
videoInputs: false,
|
|
248
|
+
maxOutputTokens: 32768,
|
|
249
|
+
reasoningOutput: true,
|
|
250
|
+
imageOutputs: true,
|
|
251
|
+
audioOutputs: false,
|
|
252
|
+
videoOutputs: false,
|
|
253
|
+
toolCalling: false,
|
|
254
|
+
structuredOutput: false
|
|
255
|
+
},
|
|
256
|
+
"gemini-2.5-flash-preview-09-2025": {
|
|
257
|
+
maxInputTokens: 1048576,
|
|
258
|
+
imageInputs: true,
|
|
259
|
+
audioInputs: true,
|
|
260
|
+
pdfInputs: true,
|
|
261
|
+
videoInputs: true,
|
|
262
|
+
maxOutputTokens: 65536,
|
|
263
|
+
reasoningOutput: true,
|
|
264
|
+
imageOutputs: false,
|
|
265
|
+
audioOutputs: false,
|
|
266
|
+
videoOutputs: false,
|
|
267
|
+
toolCalling: true,
|
|
268
|
+
structuredOutput: true
|
|
269
|
+
},
|
|
270
|
+
"gemini-2.5-flash-preview-04-17": {
|
|
271
|
+
maxInputTokens: 1048576,
|
|
272
|
+
imageInputs: true,
|
|
273
|
+
audioInputs: true,
|
|
274
|
+
pdfInputs: true,
|
|
275
|
+
videoInputs: true,
|
|
276
|
+
maxOutputTokens: 65536,
|
|
277
|
+
reasoningOutput: true,
|
|
278
|
+
imageOutputs: false,
|
|
279
|
+
audioOutputs: false,
|
|
280
|
+
videoOutputs: false,
|
|
281
|
+
toolCalling: true,
|
|
282
|
+
structuredOutput: false
|
|
283
|
+
},
|
|
284
|
+
"gemini-2.5-pro-preview-tts": {
|
|
285
|
+
maxInputTokens: 8e3,
|
|
286
|
+
imageInputs: false,
|
|
287
|
+
audioInputs: false,
|
|
288
|
+
pdfInputs: false,
|
|
289
|
+
videoInputs: false,
|
|
290
|
+
maxOutputTokens: 16e3,
|
|
291
|
+
reasoningOutput: false,
|
|
292
|
+
imageOutputs: false,
|
|
293
|
+
audioOutputs: true,
|
|
294
|
+
videoOutputs: false,
|
|
295
|
+
toolCalling: false,
|
|
296
|
+
structuredOutput: false
|
|
297
|
+
},
|
|
298
|
+
"gemini-2.5-pro": {
|
|
299
|
+
maxInputTokens: 1048576,
|
|
300
|
+
imageInputs: true,
|
|
301
|
+
audioInputs: true,
|
|
302
|
+
pdfInputs: true,
|
|
303
|
+
videoInputs: true,
|
|
304
|
+
maxOutputTokens: 65536,
|
|
305
|
+
reasoningOutput: true,
|
|
306
|
+
imageOutputs: false,
|
|
307
|
+
audioOutputs: false,
|
|
308
|
+
videoOutputs: false,
|
|
309
|
+
toolCalling: true,
|
|
310
|
+
structuredOutput: true
|
|
311
|
+
},
|
|
312
|
+
"gemini-1.5-flash": {
|
|
313
|
+
maxInputTokens: 1e6,
|
|
314
|
+
imageInputs: true,
|
|
315
|
+
audioInputs: true,
|
|
316
|
+
pdfInputs: false,
|
|
317
|
+
videoInputs: true,
|
|
318
|
+
maxOutputTokens: 8192,
|
|
319
|
+
reasoningOutput: false,
|
|
320
|
+
imageOutputs: false,
|
|
321
|
+
audioOutputs: false,
|
|
322
|
+
videoOutputs: false,
|
|
323
|
+
toolCalling: true,
|
|
324
|
+
structuredOutput: false
|
|
325
|
+
},
|
|
326
|
+
"gemini-1.5-flash-8b": {
|
|
327
|
+
maxInputTokens: 1e6,
|
|
328
|
+
imageInputs: true,
|
|
329
|
+
audioInputs: true,
|
|
330
|
+
pdfInputs: false,
|
|
331
|
+
videoInputs: true,
|
|
332
|
+
maxOutputTokens: 8192,
|
|
333
|
+
reasoningOutput: false,
|
|
334
|
+
imageOutputs: false,
|
|
335
|
+
audioOutputs: false,
|
|
336
|
+
videoOutputs: false,
|
|
337
|
+
toolCalling: true,
|
|
338
|
+
structuredOutput: false
|
|
339
|
+
},
|
|
340
|
+
"gemini-2.5-flash-lite-preview-09-2025": {
|
|
341
|
+
maxInputTokens: 1048576,
|
|
342
|
+
imageInputs: true,
|
|
343
|
+
audioInputs: true,
|
|
344
|
+
pdfInputs: true,
|
|
345
|
+
videoInputs: true,
|
|
346
|
+
maxOutputTokens: 65536,
|
|
347
|
+
reasoningOutput: true,
|
|
348
|
+
imageOutputs: false,
|
|
349
|
+
audioOutputs: false,
|
|
350
|
+
videoOutputs: false,
|
|
351
|
+
toolCalling: true,
|
|
352
|
+
structuredOutput: true
|
|
353
|
+
},
|
|
354
|
+
"gemini-1.5-pro": {
|
|
355
|
+
maxInputTokens: 1e6,
|
|
356
|
+
imageInputs: true,
|
|
357
|
+
audioInputs: true,
|
|
358
|
+
pdfInputs: false,
|
|
359
|
+
videoInputs: true,
|
|
360
|
+
maxOutputTokens: 8192,
|
|
361
|
+
reasoningOutput: false,
|
|
362
|
+
imageOutputs: false,
|
|
363
|
+
audioOutputs: false,
|
|
364
|
+
videoOutputs: false,
|
|
365
|
+
toolCalling: true,
|
|
366
|
+
structuredOutput: false
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
var profiles_default = PROFILES;
|
|
370
|
+
|
|
371
|
+
//#endregion
|
|
372
|
+
exports.default = profiles_default;
|
|
373
|
+
//# sourceMappingURL=profiles.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profiles.cjs","names":["PROFILES: Record<string, ModelProfile>"],"sources":["../../src/chat_models/profiles.ts"],"sourcesContent":["/**\n * This file was automatically generated by an automated script. Do not edit manually.\n */\nimport type { ModelProfile } from \"@langchain/core/language_models/profile\";\nconst PROFILES: Record<string, ModelProfile> = {\n \"gemini-embedding-001\": {\n maxInputTokens: 2048,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 3072,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: false,\n structuredOutput: false,\n },\n \"gemini-3-flash-preview\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-2.5-flash-image\": {\n maxInputTokens: 32768,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 32768,\n reasoningOutput: true,\n imageOutputs: true,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: false,\n structuredOutput: false,\n },\n \"gemini-2.5-flash-preview-05-20\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-flash-lite-latest\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-3-pro-preview\": {\n maxInputTokens: 1000000,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 64000,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-2.5-flash\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-flash-latest\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-2.5-pro-preview-05-06\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-2.5-flash-preview-tts\": {\n maxInputTokens: 8000,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 16000,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: true,\n videoOutputs: false,\n toolCalling: false,\n structuredOutput: false,\n },\n \"gemini-2.0-flash-lite\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-live-2.5-flash-preview-native-audio\": {\n maxInputTokens: 131072,\n imageInputs: false,\n audioInputs: true,\n pdfInputs: false,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: true,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"gemini-2.0-flash\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-2.5-flash-lite\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-2.5-pro-preview-06-05\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-live-2.5-flash\": {\n maxInputTokens: 128000,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: false,\n videoInputs: true,\n maxOutputTokens: 8000,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: true,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"gemini-2.5-flash-lite-preview-06-17\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"gemini-2.5-flash-image-preview\": {\n maxInputTokens: 32768,\n imageInputs: true,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 32768,\n reasoningOutput: true,\n imageOutputs: true,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: false,\n structuredOutput: false,\n },\n \"gemini-2.5-flash-preview-09-2025\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-2.5-flash-preview-04-17\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"gemini-2.5-pro-preview-tts\": {\n maxInputTokens: 8000,\n imageInputs: false,\n audioInputs: false,\n pdfInputs: false,\n videoInputs: false,\n maxOutputTokens: 16000,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: true,\n videoOutputs: false,\n toolCalling: false,\n structuredOutput: false,\n },\n \"gemini-2.5-pro\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-1.5-flash\": {\n maxInputTokens: 1000000,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: false,\n videoInputs: true,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"gemini-1.5-flash-8b\": {\n maxInputTokens: 1000000,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: false,\n videoInputs: true,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n \"gemini-2.5-flash-lite-preview-09-2025\": {\n maxInputTokens: 1048576,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: true,\n videoInputs: true,\n maxOutputTokens: 65536,\n reasoningOutput: true,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: true,\n },\n \"gemini-1.5-pro\": {\n maxInputTokens: 1000000,\n imageInputs: true,\n audioInputs: true,\n pdfInputs: false,\n videoInputs: true,\n maxOutputTokens: 8192,\n reasoningOutput: false,\n imageOutputs: false,\n audioOutputs: false,\n videoOutputs: false,\n toolCalling: true,\n structuredOutput: false,\n },\n};\nexport default PROFILES;\n"],"mappings":"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a;EACb,kBAAkB;CACnB;CACD,uCAAuC;EACrC,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,kCAAkC;EAChC,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,oCAAoC;EAClC,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,kCAAkC;EAChC,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,8BAA8B;EAC5B,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,kBAAkB;EAChB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,oBAAoB;EAClB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,uBAAuB;EACrB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,yCAAyC;EACvC,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;CACD,kBAAkB;EAChB,gBAAgB;EAChB,aAAa;EACb,aAAa;EACb,WAAW;EACX,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,cAAc;EACd,cAAc;EACd,cAAc;EACd,aAAa;EACb,kBAAkB;CACnB;AACF;AACD,uBAAe"}
|