@nocobase/plugin-ai 2.0.0-beta.6 → 2.0.0-beta.7
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/client/6a4c1ee12f864e38.js +10 -0
- package/dist/client/index.js +1 -1
- package/dist/collections/ai-employees.d.ts +1 -0
- package/dist/collections/ai-employees.js +4 -0
- package/dist/externalVersion.js +11 -11
- package/dist/locale/en-US.json +2 -0
- package/dist/locale/zh-CN.json +2 -0
- package/dist/node_modules/@langchain/anthropic/package.json +1 -1
- package/dist/node_modules/@langchain/core/package.json +1 -1
- package/dist/node_modules/@langchain/deepseek/package.json +1 -1
- package/dist/node_modules/@langchain/google-genai/LICENSE +6 -6
- package/dist/node_modules/@langchain/google-genai/dist/_virtual/rolldown_runtime.cjs +25 -0
- package/dist/node_modules/@langchain/google-genai/dist/chat_models.cjs +680 -842
- package/dist/node_modules/@langchain/google-genai/dist/chat_models.d.cts +581 -0
- package/dist/node_modules/@langchain/google-genai/dist/chat_models.d.ts +196 -157
- package/dist/node_modules/@langchain/google-genai/dist/chat_models.js +678 -837
- package/dist/node_modules/@langchain/google-genai/dist/embeddings.cjs +97 -151
- package/dist/node_modules/@langchain/google-genai/dist/embeddings.d.cts +104 -0
- package/dist/node_modules/@langchain/google-genai/dist/embeddings.d.ts +76 -70
- package/dist/node_modules/@langchain/google-genai/dist/embeddings.js +93 -144
- package/dist/node_modules/@langchain/google-genai/dist/index.cjs +252 -18
- package/dist/node_modules/@langchain/google-genai/dist/index.d.cts +3 -0
- package/dist/node_modules/@langchain/google-genai/dist/index.d.ts +3 -2
- package/dist/node_modules/@langchain/google-genai/dist/index.js +4 -2
- package/dist/node_modules/@langchain/google-genai/dist/output_parsers.cjs +47 -75
- package/dist/node_modules/@langchain/google-genai/dist/output_parsers.js +47 -72
- package/dist/node_modules/@langchain/google-genai/dist/profiles.cjs +345 -0
- package/dist/node_modules/@langchain/google-genai/dist/profiles.js +344 -0
- package/dist/node_modules/@langchain/google-genai/dist/types.d.cts +17 -0
- package/dist/node_modules/@langchain/google-genai/dist/types.d.ts +16 -2
- package/dist/node_modules/@langchain/google-genai/dist/utils/common.cjs +419 -551
- package/dist/node_modules/@langchain/google-genai/dist/utils/common.js +417 -545
- package/dist/node_modules/@langchain/google-genai/dist/utils/tools.cjs +65 -102
- package/dist/node_modules/@langchain/google-genai/dist/utils/tools.js +64 -99
- package/dist/node_modules/@langchain/google-genai/dist/utils/zod_to_genai_parameters.cjs +31 -49
- package/dist/node_modules/@langchain/google-genai/dist/utils/zod_to_genai_parameters.js +29 -45
- package/dist/node_modules/@langchain/google-genai/package.json +1 -1
- package/dist/node_modules/@langchain/ollama/package.json +1 -1
- package/dist/node_modules/@langchain/openai/package.json +1 -1
- package/dist/node_modules/nodejs-snowflake/package.json +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/dist/node_modules/zod-to-json-schema/package.json +1 -1
- package/dist/server/ai-employees/ai-employee.js +5 -2
- package/dist/server/llm-providers/anthropic.js +4 -5
- package/dist/server/llm-providers/provider.js +5 -1
- package/dist/server/manager/ai-chat-conversation.js +3 -2
- package/dist/server/manager/built-in-manager.js +3 -3
- package/dist/server/migrations/20260107000000-reset-builtin-about.d.ts +14 -0
- package/dist/server/migrations/20260107000000-reset-builtin-about.js +48 -0
- package/dist/server/resource/ai.js +8 -2
- package/dist/server/resource/aiEmployees.d.ts +0 -1
- package/dist/server/resource/aiEmployees.js +0 -15
- package/dist/server/types/ai-message.type.d.ts +2 -0
- package/package.json +3 -3
- package/dist/client/a7f0550514128d80.js +0 -10
- package/dist/node_modules/@langchain/google-genai/dist/output_parsers.d.ts +0 -20
- package/dist/node_modules/@langchain/google-genai/dist/types.cjs +0 -2
- package/dist/node_modules/@langchain/google-genai/dist/types.js +0 -1
- package/dist/node_modules/@langchain/google-genai/dist/utils/common.d.ts +0 -22
- package/dist/node_modules/@langchain/google-genai/dist/utils/tools.d.ts +0 -10
- package/dist/node_modules/@langchain/google-genai/dist/utils/zod_to_genai_parameters.d.ts +0 -14
- package/dist/node_modules/@langchain/google-genai/index.cjs +0 -252
- package/dist/node_modules/@langchain/google-genai/index.d.cts +0 -1
- package/dist/node_modules/@langchain/google-genai/index.d.ts +0 -1
- package/dist/node_modules/@langchain/google-genai/index.js +0 -1
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
//#region src/profiles.ts
|
|
2
|
+
const PROFILES = {
|
|
3
|
+
"gemini-embedding-001": {
|
|
4
|
+
maxInputTokens: 2048,
|
|
5
|
+
imageInputs: false,
|
|
6
|
+
audioInputs: false,
|
|
7
|
+
pdfInputs: false,
|
|
8
|
+
videoInputs: false,
|
|
9
|
+
maxOutputTokens: 3072,
|
|
10
|
+
reasoningOutput: false,
|
|
11
|
+
imageOutputs: false,
|
|
12
|
+
audioOutputs: false,
|
|
13
|
+
videoOutputs: false,
|
|
14
|
+
toolCalling: false,
|
|
15
|
+
structuredOutput: false
|
|
16
|
+
},
|
|
17
|
+
"gemini-2.5-flash-image": {
|
|
18
|
+
maxInputTokens: 32768,
|
|
19
|
+
imageInputs: true,
|
|
20
|
+
audioInputs: false,
|
|
21
|
+
pdfInputs: false,
|
|
22
|
+
videoInputs: false,
|
|
23
|
+
maxOutputTokens: 32768,
|
|
24
|
+
reasoningOutput: true,
|
|
25
|
+
imageOutputs: true,
|
|
26
|
+
audioOutputs: false,
|
|
27
|
+
videoOutputs: false,
|
|
28
|
+
toolCalling: false,
|
|
29
|
+
structuredOutput: false
|
|
30
|
+
},
|
|
31
|
+
"gemini-2.5-flash-preview-05-20": {
|
|
32
|
+
maxInputTokens: 1048576,
|
|
33
|
+
imageInputs: true,
|
|
34
|
+
audioInputs: true,
|
|
35
|
+
pdfInputs: true,
|
|
36
|
+
videoInputs: true,
|
|
37
|
+
maxOutputTokens: 65536,
|
|
38
|
+
reasoningOutput: true,
|
|
39
|
+
imageOutputs: false,
|
|
40
|
+
audioOutputs: false,
|
|
41
|
+
videoOutputs: false,
|
|
42
|
+
toolCalling: true,
|
|
43
|
+
structuredOutput: true
|
|
44
|
+
},
|
|
45
|
+
"gemini-flash-lite-latest": {
|
|
46
|
+
maxInputTokens: 1048576,
|
|
47
|
+
imageInputs: true,
|
|
48
|
+
audioInputs: true,
|
|
49
|
+
pdfInputs: true,
|
|
50
|
+
videoInputs: true,
|
|
51
|
+
maxOutputTokens: 65536,
|
|
52
|
+
reasoningOutput: true,
|
|
53
|
+
imageOutputs: false,
|
|
54
|
+
audioOutputs: false,
|
|
55
|
+
videoOutputs: false,
|
|
56
|
+
toolCalling: true,
|
|
57
|
+
structuredOutput: true
|
|
58
|
+
},
|
|
59
|
+
"gemini-2.5-flash": {
|
|
60
|
+
maxInputTokens: 1048576,
|
|
61
|
+
imageInputs: true,
|
|
62
|
+
audioInputs: true,
|
|
63
|
+
pdfInputs: true,
|
|
64
|
+
videoInputs: true,
|
|
65
|
+
maxOutputTokens: 65536,
|
|
66
|
+
reasoningOutput: true,
|
|
67
|
+
imageOutputs: false,
|
|
68
|
+
audioOutputs: false,
|
|
69
|
+
videoOutputs: false,
|
|
70
|
+
toolCalling: true,
|
|
71
|
+
structuredOutput: true
|
|
72
|
+
},
|
|
73
|
+
"gemini-flash-latest": {
|
|
74
|
+
maxInputTokens: 1048576,
|
|
75
|
+
imageInputs: true,
|
|
76
|
+
audioInputs: true,
|
|
77
|
+
pdfInputs: true,
|
|
78
|
+
videoInputs: true,
|
|
79
|
+
maxOutputTokens: 65536,
|
|
80
|
+
reasoningOutput: true,
|
|
81
|
+
imageOutputs: false,
|
|
82
|
+
audioOutputs: false,
|
|
83
|
+
videoOutputs: false,
|
|
84
|
+
toolCalling: true,
|
|
85
|
+
structuredOutput: true
|
|
86
|
+
},
|
|
87
|
+
"gemini-2.5-pro-preview-05-06": {
|
|
88
|
+
maxInputTokens: 1048576,
|
|
89
|
+
imageInputs: true,
|
|
90
|
+
audioInputs: true,
|
|
91
|
+
pdfInputs: true,
|
|
92
|
+
videoInputs: true,
|
|
93
|
+
maxOutputTokens: 65536,
|
|
94
|
+
reasoningOutput: true,
|
|
95
|
+
imageOutputs: false,
|
|
96
|
+
audioOutputs: false,
|
|
97
|
+
videoOutputs: false,
|
|
98
|
+
toolCalling: true,
|
|
99
|
+
structuredOutput: true
|
|
100
|
+
},
|
|
101
|
+
"gemini-2.5-flash-preview-tts": {
|
|
102
|
+
maxInputTokens: 8e3,
|
|
103
|
+
imageInputs: false,
|
|
104
|
+
audioInputs: false,
|
|
105
|
+
pdfInputs: false,
|
|
106
|
+
videoInputs: false,
|
|
107
|
+
maxOutputTokens: 16e3,
|
|
108
|
+
reasoningOutput: false,
|
|
109
|
+
imageOutputs: false,
|
|
110
|
+
audioOutputs: true,
|
|
111
|
+
videoOutputs: false,
|
|
112
|
+
toolCalling: false,
|
|
113
|
+
structuredOutput: false
|
|
114
|
+
},
|
|
115
|
+
"gemini-2.0-flash-lite": {
|
|
116
|
+
maxInputTokens: 1048576,
|
|
117
|
+
imageInputs: true,
|
|
118
|
+
audioInputs: true,
|
|
119
|
+
pdfInputs: true,
|
|
120
|
+
videoInputs: true,
|
|
121
|
+
maxOutputTokens: 8192,
|
|
122
|
+
reasoningOutput: false,
|
|
123
|
+
imageOutputs: false,
|
|
124
|
+
audioOutputs: false,
|
|
125
|
+
videoOutputs: false,
|
|
126
|
+
toolCalling: true,
|
|
127
|
+
structuredOutput: true
|
|
128
|
+
},
|
|
129
|
+
"gemini-live-2.5-flash-preview-native-audio": {
|
|
130
|
+
maxInputTokens: 131072,
|
|
131
|
+
imageInputs: false,
|
|
132
|
+
audioInputs: true,
|
|
133
|
+
pdfInputs: false,
|
|
134
|
+
videoInputs: true,
|
|
135
|
+
maxOutputTokens: 65536,
|
|
136
|
+
reasoningOutput: true,
|
|
137
|
+
imageOutputs: false,
|
|
138
|
+
audioOutputs: true,
|
|
139
|
+
videoOutputs: false,
|
|
140
|
+
toolCalling: true,
|
|
141
|
+
structuredOutput: false
|
|
142
|
+
},
|
|
143
|
+
"gemini-2.0-flash": {
|
|
144
|
+
maxInputTokens: 1048576,
|
|
145
|
+
imageInputs: true,
|
|
146
|
+
audioInputs: true,
|
|
147
|
+
pdfInputs: true,
|
|
148
|
+
videoInputs: true,
|
|
149
|
+
maxOutputTokens: 8192,
|
|
150
|
+
reasoningOutput: false,
|
|
151
|
+
imageOutputs: false,
|
|
152
|
+
audioOutputs: false,
|
|
153
|
+
videoOutputs: false,
|
|
154
|
+
toolCalling: true,
|
|
155
|
+
structuredOutput: true
|
|
156
|
+
},
|
|
157
|
+
"gemini-2.5-flash-lite": {
|
|
158
|
+
maxInputTokens: 1048576,
|
|
159
|
+
imageInputs: true,
|
|
160
|
+
audioInputs: true,
|
|
161
|
+
pdfInputs: true,
|
|
162
|
+
videoInputs: true,
|
|
163
|
+
maxOutputTokens: 65536,
|
|
164
|
+
reasoningOutput: true,
|
|
165
|
+
imageOutputs: false,
|
|
166
|
+
audioOutputs: false,
|
|
167
|
+
videoOutputs: false,
|
|
168
|
+
toolCalling: true,
|
|
169
|
+
structuredOutput: true
|
|
170
|
+
},
|
|
171
|
+
"gemini-2.5-pro-preview-06-05": {
|
|
172
|
+
maxInputTokens: 1048576,
|
|
173
|
+
imageInputs: true,
|
|
174
|
+
audioInputs: true,
|
|
175
|
+
pdfInputs: true,
|
|
176
|
+
videoInputs: true,
|
|
177
|
+
maxOutputTokens: 65536,
|
|
178
|
+
reasoningOutput: true,
|
|
179
|
+
imageOutputs: false,
|
|
180
|
+
audioOutputs: false,
|
|
181
|
+
videoOutputs: false,
|
|
182
|
+
toolCalling: true,
|
|
183
|
+
structuredOutput: true
|
|
184
|
+
},
|
|
185
|
+
"gemini-live-2.5-flash": {
|
|
186
|
+
maxInputTokens: 128e3,
|
|
187
|
+
imageInputs: true,
|
|
188
|
+
audioInputs: true,
|
|
189
|
+
pdfInputs: false,
|
|
190
|
+
videoInputs: true,
|
|
191
|
+
maxOutputTokens: 8e3,
|
|
192
|
+
reasoningOutput: true,
|
|
193
|
+
imageOutputs: false,
|
|
194
|
+
audioOutputs: true,
|
|
195
|
+
videoOutputs: false,
|
|
196
|
+
toolCalling: true,
|
|
197
|
+
structuredOutput: false
|
|
198
|
+
},
|
|
199
|
+
"gemini-2.5-flash-lite-preview-06-17": {
|
|
200
|
+
maxInputTokens: 1048576,
|
|
201
|
+
imageInputs: true,
|
|
202
|
+
audioInputs: true,
|
|
203
|
+
pdfInputs: true,
|
|
204
|
+
videoInputs: true,
|
|
205
|
+
maxOutputTokens: 65536,
|
|
206
|
+
reasoningOutput: true,
|
|
207
|
+
imageOutputs: false,
|
|
208
|
+
audioOutputs: false,
|
|
209
|
+
videoOutputs: false,
|
|
210
|
+
toolCalling: true,
|
|
211
|
+
structuredOutput: false
|
|
212
|
+
},
|
|
213
|
+
"gemini-2.5-flash-image-preview": {
|
|
214
|
+
maxInputTokens: 32768,
|
|
215
|
+
imageInputs: true,
|
|
216
|
+
audioInputs: false,
|
|
217
|
+
pdfInputs: false,
|
|
218
|
+
videoInputs: false,
|
|
219
|
+
maxOutputTokens: 32768,
|
|
220
|
+
reasoningOutput: true,
|
|
221
|
+
imageOutputs: true,
|
|
222
|
+
audioOutputs: false,
|
|
223
|
+
videoOutputs: false,
|
|
224
|
+
toolCalling: false,
|
|
225
|
+
structuredOutput: false
|
|
226
|
+
},
|
|
227
|
+
"gemini-2.5-flash-preview-09-2025": {
|
|
228
|
+
maxInputTokens: 1048576,
|
|
229
|
+
imageInputs: true,
|
|
230
|
+
audioInputs: true,
|
|
231
|
+
pdfInputs: true,
|
|
232
|
+
videoInputs: true,
|
|
233
|
+
maxOutputTokens: 65536,
|
|
234
|
+
reasoningOutput: true,
|
|
235
|
+
imageOutputs: false,
|
|
236
|
+
audioOutputs: false,
|
|
237
|
+
videoOutputs: false,
|
|
238
|
+
toolCalling: true,
|
|
239
|
+
structuredOutput: true
|
|
240
|
+
},
|
|
241
|
+
"gemini-2.5-flash-preview-04-17": {
|
|
242
|
+
maxInputTokens: 1048576,
|
|
243
|
+
imageInputs: true,
|
|
244
|
+
audioInputs: true,
|
|
245
|
+
pdfInputs: true,
|
|
246
|
+
videoInputs: true,
|
|
247
|
+
maxOutputTokens: 65536,
|
|
248
|
+
reasoningOutput: true,
|
|
249
|
+
imageOutputs: false,
|
|
250
|
+
audioOutputs: false,
|
|
251
|
+
videoOutputs: false,
|
|
252
|
+
toolCalling: true,
|
|
253
|
+
structuredOutput: false
|
|
254
|
+
},
|
|
255
|
+
"gemini-2.5-pro-preview-tts": {
|
|
256
|
+
maxInputTokens: 8e3,
|
|
257
|
+
imageInputs: false,
|
|
258
|
+
audioInputs: false,
|
|
259
|
+
pdfInputs: false,
|
|
260
|
+
videoInputs: false,
|
|
261
|
+
maxOutputTokens: 16e3,
|
|
262
|
+
reasoningOutput: false,
|
|
263
|
+
imageOutputs: false,
|
|
264
|
+
audioOutputs: true,
|
|
265
|
+
videoOutputs: false,
|
|
266
|
+
toolCalling: false,
|
|
267
|
+
structuredOutput: false
|
|
268
|
+
},
|
|
269
|
+
"gemini-2.5-pro": {
|
|
270
|
+
maxInputTokens: 1048576,
|
|
271
|
+
imageInputs: true,
|
|
272
|
+
audioInputs: true,
|
|
273
|
+
pdfInputs: true,
|
|
274
|
+
videoInputs: true,
|
|
275
|
+
maxOutputTokens: 65536,
|
|
276
|
+
reasoningOutput: true,
|
|
277
|
+
imageOutputs: false,
|
|
278
|
+
audioOutputs: false,
|
|
279
|
+
videoOutputs: false,
|
|
280
|
+
toolCalling: true,
|
|
281
|
+
structuredOutput: true
|
|
282
|
+
},
|
|
283
|
+
"gemini-1.5-flash": {
|
|
284
|
+
maxInputTokens: 1e6,
|
|
285
|
+
imageInputs: true,
|
|
286
|
+
audioInputs: true,
|
|
287
|
+
pdfInputs: false,
|
|
288
|
+
videoInputs: true,
|
|
289
|
+
maxOutputTokens: 8192,
|
|
290
|
+
reasoningOutput: false,
|
|
291
|
+
imageOutputs: false,
|
|
292
|
+
audioOutputs: false,
|
|
293
|
+
videoOutputs: false,
|
|
294
|
+
toolCalling: true,
|
|
295
|
+
structuredOutput: false
|
|
296
|
+
},
|
|
297
|
+
"gemini-1.5-flash-8b": {
|
|
298
|
+
maxInputTokens: 1e6,
|
|
299
|
+
imageInputs: true,
|
|
300
|
+
audioInputs: true,
|
|
301
|
+
pdfInputs: false,
|
|
302
|
+
videoInputs: true,
|
|
303
|
+
maxOutputTokens: 8192,
|
|
304
|
+
reasoningOutput: false,
|
|
305
|
+
imageOutputs: false,
|
|
306
|
+
audioOutputs: false,
|
|
307
|
+
videoOutputs: false,
|
|
308
|
+
toolCalling: true,
|
|
309
|
+
structuredOutput: false
|
|
310
|
+
},
|
|
311
|
+
"gemini-2.5-flash-lite-preview-09-2025": {
|
|
312
|
+
maxInputTokens: 1048576,
|
|
313
|
+
imageInputs: true,
|
|
314
|
+
audioInputs: true,
|
|
315
|
+
pdfInputs: true,
|
|
316
|
+
videoInputs: true,
|
|
317
|
+
maxOutputTokens: 65536,
|
|
318
|
+
reasoningOutput: true,
|
|
319
|
+
imageOutputs: false,
|
|
320
|
+
audioOutputs: false,
|
|
321
|
+
videoOutputs: false,
|
|
322
|
+
toolCalling: true,
|
|
323
|
+
structuredOutput: true
|
|
324
|
+
},
|
|
325
|
+
"gemini-1.5-pro": {
|
|
326
|
+
maxInputTokens: 1e6,
|
|
327
|
+
imageInputs: true,
|
|
328
|
+
audioInputs: true,
|
|
329
|
+
pdfInputs: false,
|
|
330
|
+
videoInputs: true,
|
|
331
|
+
maxOutputTokens: 8192,
|
|
332
|
+
reasoningOutput: false,
|
|
333
|
+
imageOutputs: false,
|
|
334
|
+
audioOutputs: false,
|
|
335
|
+
videoOutputs: false,
|
|
336
|
+
toolCalling: true,
|
|
337
|
+
structuredOutput: false
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
var profiles_default = PROFILES;
|
|
341
|
+
|
|
342
|
+
//#endregion
|
|
343
|
+
export { profiles_default as default };
|
|
344
|
+
//# sourceMappingURL=profiles.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CodeExecutionTool, FunctionDeclarationsTool, GoogleSearchRetrievalTool } from "@google/generative-ai";
|
|
2
|
+
import { BindToolsInput } from "@langchain/core/language_models/chat_models";
|
|
3
|
+
|
|
4
|
+
//#region src/types.d.ts
|
|
5
|
+
type GoogleGenerativeAIToolType = BindToolsInput | FunctionDeclarationsTool | CodeExecutionTool | GoogleSearchRetrievalTool;
|
|
6
|
+
type GoogleGenerativeAIThinkingConfig = {
|
|
7
|
+
/** Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. */
|
|
8
|
+
includeThoughts?: boolean;
|
|
9
|
+
/** The number of thoughts tokens that the model should generate. */
|
|
10
|
+
thinkingBudget?: number;
|
|
11
|
+
/** Optional. The level of thoughts tokens that the model should generate. */
|
|
12
|
+
thinkingLevel?: GoogleGenerativeAIThinkingLevel;
|
|
13
|
+
};
|
|
14
|
+
type GoogleGenerativeAIThinkingLevel = "THINKING_LEVEL_UNSPECIFIED" | "LOW" | "HIGH";
|
|
15
|
+
//#endregion
|
|
16
|
+
export { GoogleGenerativeAIThinkingConfig, GoogleGenerativeAIToolType };
|
|
17
|
+
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
import { CodeExecutionTool, FunctionDeclarationsTool
|
|
1
|
+
import { CodeExecutionTool, FunctionDeclarationsTool, GoogleSearchRetrievalTool } from "@google/generative-ai";
|
|
2
2
|
import { BindToolsInput } from "@langchain/core/language_models/chat_models";
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
//#region src/types.d.ts
|
|
5
|
+
type GoogleGenerativeAIToolType = BindToolsInput | FunctionDeclarationsTool | CodeExecutionTool | GoogleSearchRetrievalTool;
|
|
6
|
+
type GoogleGenerativeAIThinkingConfig = {
|
|
7
|
+
/** Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. */
|
|
8
|
+
includeThoughts?: boolean;
|
|
9
|
+
/** The number of thoughts tokens that the model should generate. */
|
|
10
|
+
thinkingBudget?: number;
|
|
11
|
+
/** Optional. The level of thoughts tokens that the model should generate. */
|
|
12
|
+
thinkingLevel?: GoogleGenerativeAIThinkingLevel;
|
|
13
|
+
};
|
|
14
|
+
type GoogleGenerativeAIThinkingLevel = "THINKING_LEVEL_UNSPECIFIED" | "LOW" | "HIGH";
|
|
15
|
+
//#endregion
|
|
16
|
+
export { GoogleGenerativeAIThinkingConfig, GoogleGenerativeAIToolType };
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|