@cherrystudio/provider-registry 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +166 -2
- package/data/models.json +22694 -0
- package/data/provider-models.json +41090 -0
- package/data/providers.json +2722 -0
- package/dist/bundled-catalog.cjs +12 -0
- package/dist/bundled-catalog.d.cts +5 -0
- package/dist/bundled-catalog.d.mts +5 -0
- package/dist/bundled-catalog.mjs +11 -0
- package/dist/bundled-models--P3b6A6o.mjs +25220 -0
- package/dist/bundled-models-uS9C7ldF.cjs +25224 -0
- package/dist/bundled-models.cjs +3 -0
- package/dist/bundled-models.d.cts +5 -0
- package/dist/bundled-models.d.mts +5 -0
- package/dist/bundled-models.mjs +2 -0
- package/dist/bundled-provider-models-CT2Ha5w2.cjs +37586 -0
- package/dist/bundled-provider-models-y-RYjBUH.mjs +37582 -0
- package/dist/bundled-provider-models.cjs +3 -0
- package/dist/bundled-provider-models.d.cts +5 -0
- package/dist/bundled-provider-models.d.mts +5 -0
- package/dist/bundled-provider-models.mjs +2 -0
- package/dist/bundled-providers-BcszhEy2.mjs +2172 -0
- package/dist/bundled-providers-Bv_iM9AO.cjs +2176 -0
- package/dist/bundled-providers.cjs +3 -0
- package/dist/bundled-providers.d.cts +5 -0
- package/dist/bundled-providers.d.mts +5 -0
- package/dist/bundled-providers.mjs +2 -0
- package/dist/catalog-DElG_l-8.mjs +369 -0
- package/dist/catalog-DurdOhD0.cjs +442 -0
- package/dist/catalog-XJyrtwI9.d.cts +53 -0
- package/dist/catalog-XJyrtwI9.d.mts +53 -0
- package/dist/index.cjs +2620 -0
- package/dist/index.d.cts +3932 -0
- package/dist/index.d.mts +3932 -0
- package/dist/index.mjs +2549 -0
- package/dist/model-NFEbqWMs.mjs +665 -0
- package/dist/model-kwW2vWDI.cjs +855 -0
- package/dist/provider-D14qMZsE.mjs +431 -0
- package/dist/provider-DkSIaann.cjs +527 -0
- package/dist/provider-models-BjKC53mr.cjs +85 -0
- package/dist/provider-models-BkxD9T17.mjs +67 -0
- package/dist/provider-models-DuZBXGmP.d.cts +28692 -0
- package/dist/provider-models-DuZBXGmP.d.mts +28692 -0
- package/dist/registry-BjETdicx.d.mts +35 -0
- package/dist/registry-Di5ULW6Z.d.cts +35 -0
- package/dist/registry-loader.cjs +170 -0
- package/dist/registry-loader.d.cts +64 -0
- package/dist/registry-loader.d.mts +64 -0
- package/dist/registry-loader.mjs +156 -0
- package/package.json +146 -3
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,3932 @@
|
|
|
1
|
+
import { $ as ModelPricing, A as Currency, B as SERVER_TOOL, C as ServiceTierRequestControl, D as CANONICAL_PARAM_KEY, E as ServiceTierSelectionSchema, F as Modality, G as ImageGenerationMode, H as ServerTool, I as ModelCapability, J as ImageGenerationSupportSchema, K as ImageGenerationModeSchema, L as REASONING_EFFORT, M as EndpointType, N as MODALITY, O as CURRENCY, P as MODEL_CAPABILITY, Q as ModelListSchema, R as REASONING_EFFORT_ORDER, S as ServiceTierOptionsSchema, T as ServiceTierSelection, U as ServerToolModelScope, V as SERVER_TOOL_MODEL_SCOPE, W as objectValues, X as ModelConfig, Y as ImageModeDef, Z as ModelConfigSchema, _ as ServerToolConfig, a as ProviderModelReasoningContractSchema, b as ServiceTierDeliverySchema, c as ProviderConfig, d as ProviderEditionSchema, et as ReasoningControl, f as ProviderListSchema, g as RegistryEndpointConfig, h as ReasoningFormatType, i as ProviderModelReasoningContract, it as SupportSpec, j as ENDPOINT_TYPE, k as CanonicalParamKey, l as ProviderConfigSchema, m as REASONING_FORMAT_TYPES, n as ProviderModelOverride, nt as ReasoningSupport, o as EndpointDialect, p as ProviderReasoningFormat, q as ImageGenerationSupport, r as ProviderModelOverrideSchema, rt as ReasoningWireDialect, s as FastModeTransportSchema, t as ProviderModelListSchema, tt as ReasoningControlSchema, u as ProviderEdition, v as ServerToolConfigSchema, w as ServiceTierRequestControlSchema, x as ServiceTierOptions, y as ServiceTierDelivery, z as ReasoningEffort } from "./provider-models-DuZBXGmP.cjs";
|
|
2
|
+
import { a as parseModelSnapshot, i as createRegistry, n as Registry, r as RegistryCatalog, t as ModelSnapshot } from "./registry-Di5ULW6Z.cjs";
|
|
3
|
+
import { a as REGISTRY_SCHEMA_VERSION, c as RemoteRegistryFileName, i as REGISTRY_MIN_APP_VERSION, n as CatalogManifestSchema, o as REMOTE_REGISTRY_FILES, r as REGISTRY_FILES, s as RegistryFileName, t as CatalogManifest } from "./catalog-XJyrtwI9.cjs";
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
//#region src/schemas/imageParamCatalog.d.ts
|
|
6
|
+
interface ImageParamCatalogEntry<S extends z.ZodTypeAny = z.ZodTypeAny> {
|
|
7
|
+
/** SINGLE source of truth for the param's value type. Always optional. */
|
|
8
|
+
readonly schema: S;
|
|
9
|
+
/** Vendor wire field name override. Omit when it's the auto camelCase→snake_case
|
|
10
|
+
* form (the common case — see {@link wireName}); set only for irregulars. */
|
|
11
|
+
readonly wire?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Normalize only finite numbers and numeric strings from form controls.
|
|
15
|
+
* Other JavaScript-coercible values (booleans and arrays) stay invalid instead
|
|
16
|
+
* of silently becoming `0`, `1`, or another number at submission time.
|
|
17
|
+
*/
|
|
18
|
+
declare function normalizeImageParamNumber(value: unknown): unknown;
|
|
19
|
+
/**
|
|
20
|
+
* Catalog. Plain object literal + `as const satisfies` so per-key schema types
|
|
21
|
+
* survive for {@link ParamValue} (annotating the object would widen them).
|
|
22
|
+
*/
|
|
23
|
+
declare const IMAGE_PARAM_CATALOG: {
|
|
24
|
+
readonly addWatermark: {
|
|
25
|
+
readonly schema: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
readonly wire: "watermark";
|
|
27
|
+
};
|
|
28
|
+
readonly aspectRatio: {
|
|
29
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
30
|
+
};
|
|
31
|
+
readonly background: {
|
|
32
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
33
|
+
};
|
|
34
|
+
readonly bottomScale: {
|
|
35
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
36
|
+
};
|
|
37
|
+
readonly cfg: {
|
|
38
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
39
|
+
};
|
|
40
|
+
readonly customSize: {
|
|
41
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
42
|
+
};
|
|
43
|
+
readonly detail: {
|
|
44
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
45
|
+
};
|
|
46
|
+
readonly enableInterleave: {
|
|
47
|
+
readonly schema: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
};
|
|
49
|
+
readonly function: {
|
|
50
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
51
|
+
};
|
|
52
|
+
readonly guidanceScale: {
|
|
53
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
54
|
+
};
|
|
55
|
+
readonly imageResolution: {
|
|
56
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
57
|
+
readonly wire: "size";
|
|
58
|
+
};
|
|
59
|
+
readonly imageWeight: {
|
|
60
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
61
|
+
};
|
|
62
|
+
readonly isSketch: {
|
|
63
|
+
readonly schema: z.ZodOptional<z.ZodBoolean>;
|
|
64
|
+
};
|
|
65
|
+
readonly leftScale: {
|
|
66
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
67
|
+
};
|
|
68
|
+
readonly magicPromptOption: {
|
|
69
|
+
readonly schema: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
+
};
|
|
71
|
+
readonly maxImages: {
|
|
72
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
73
|
+
};
|
|
74
|
+
readonly moderation: {
|
|
75
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
76
|
+
};
|
|
77
|
+
readonly negativePrompt: {
|
|
78
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
79
|
+
};
|
|
80
|
+
readonly numImages: {
|
|
81
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
82
|
+
};
|
|
83
|
+
readonly numInferenceSteps: {
|
|
84
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
85
|
+
};
|
|
86
|
+
readonly outputFormat: {
|
|
87
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
88
|
+
};
|
|
89
|
+
readonly outputCompression: {
|
|
90
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
91
|
+
};
|
|
92
|
+
readonly personGeneration: {
|
|
93
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
94
|
+
};
|
|
95
|
+
readonly promptEnhancement: {
|
|
96
|
+
readonly schema: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
};
|
|
98
|
+
readonly promptExtend: {
|
|
99
|
+
readonly schema: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
};
|
|
101
|
+
readonly quality: {
|
|
102
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
103
|
+
};
|
|
104
|
+
readonly resolution: {
|
|
105
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
106
|
+
};
|
|
107
|
+
readonly refMode: {
|
|
108
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
109
|
+
};
|
|
110
|
+
readonly refStrength: {
|
|
111
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
112
|
+
};
|
|
113
|
+
readonly renderingSpeed: {
|
|
114
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
115
|
+
};
|
|
116
|
+
readonly resemblance: {
|
|
117
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
118
|
+
};
|
|
119
|
+
readonly rightScale: {
|
|
120
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
121
|
+
};
|
|
122
|
+
readonly safetyTolerance: {
|
|
123
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
124
|
+
};
|
|
125
|
+
readonly seed: {
|
|
126
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
127
|
+
};
|
|
128
|
+
readonly sequentialImageGeneration: {
|
|
129
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
130
|
+
};
|
|
131
|
+
readonly size: {
|
|
132
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
133
|
+
};
|
|
134
|
+
readonly sourceLang: {
|
|
135
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
136
|
+
};
|
|
137
|
+
readonly strength: {
|
|
138
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
139
|
+
};
|
|
140
|
+
readonly style: {
|
|
141
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
142
|
+
};
|
|
143
|
+
readonly styleType: {
|
|
144
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
145
|
+
};
|
|
146
|
+
readonly targetLang: {
|
|
147
|
+
readonly schema: z.ZodOptional<z.ZodString>;
|
|
148
|
+
};
|
|
149
|
+
readonly thinkingMode: {
|
|
150
|
+
readonly schema: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
+
};
|
|
152
|
+
readonly topScale: {
|
|
153
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
154
|
+
};
|
|
155
|
+
readonly upscaleFactor: {
|
|
156
|
+
readonly schema: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
/** Parse one dynamic form value through its canonical catalog schema. */
|
|
160
|
+
declare function parseImageParamValue(key: string, value: unknown): unknown;
|
|
161
|
+
/** Static value type of a canonical param, derived from its catalog schema. */
|
|
162
|
+
type ParamValue<K extends CanonicalParamKey> = z.infer<(typeof IMAGE_PARAM_CATALOG)[K]['schema']>;
|
|
163
|
+
/** Validated param bag: a partial map of canonical key → its typed value. */
|
|
164
|
+
type ParamValues = { [K in CanonicalParamKey]?: ParamValue<K>; };
|
|
165
|
+
/**
|
|
166
|
+
* Catalog value schema — every canonical key's value schema as a single typed
|
|
167
|
+
* `z.object` whose `z.infer` is exactly {@link ParamValues}. The one `as` is on
|
|
168
|
+
* the dynamic `Object.fromEntries` SHAPE (provably the catalog keys → their
|
|
169
|
+
* schemas); the output type then flows without a cast. Consumers (the
|
|
170
|
+
* `ai.image.generate` IPC payload) use this to validate + coerce the bag with zod
|
|
171
|
+
* AT THE BOUNDARY — non-catalog keys are stripped, per-model option/range
|
|
172
|
+
* constraints stay in the renderer's `buildParamsSchema`.
|
|
173
|
+
*/
|
|
174
|
+
declare const imageParamsSchema: z.ZodObject<{
|
|
175
|
+
function: z.ZodOptional<z.ZodString>;
|
|
176
|
+
addWatermark: z.ZodOptional<z.ZodBoolean>;
|
|
177
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
178
|
+
background: z.ZodOptional<z.ZodString>;
|
|
179
|
+
bottomScale: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
180
|
+
cfg: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
181
|
+
customSize: z.ZodOptional<z.ZodString>;
|
|
182
|
+
detail: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
183
|
+
enableInterleave: z.ZodOptional<z.ZodBoolean>;
|
|
184
|
+
guidanceScale: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
185
|
+
imageResolution: z.ZodOptional<z.ZodString>;
|
|
186
|
+
imageWeight: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
187
|
+
isSketch: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
leftScale: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
189
|
+
magicPromptOption: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
maxImages: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
191
|
+
moderation: z.ZodOptional<z.ZodString>;
|
|
192
|
+
negativePrompt: z.ZodOptional<z.ZodString>;
|
|
193
|
+
numImages: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
194
|
+
numInferenceSteps: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
195
|
+
outputFormat: z.ZodOptional<z.ZodString>;
|
|
196
|
+
outputCompression: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
197
|
+
personGeneration: z.ZodOptional<z.ZodString>;
|
|
198
|
+
promptEnhancement: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
+
promptExtend: z.ZodOptional<z.ZodBoolean>;
|
|
200
|
+
quality: z.ZodOptional<z.ZodString>;
|
|
201
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
202
|
+
refMode: z.ZodOptional<z.ZodString>;
|
|
203
|
+
refStrength: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
204
|
+
renderingSpeed: z.ZodOptional<z.ZodString>;
|
|
205
|
+
resemblance: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
206
|
+
rightScale: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
207
|
+
safetyTolerance: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
208
|
+
seed: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
209
|
+
sequentialImageGeneration: z.ZodOptional<z.ZodString>;
|
|
210
|
+
size: z.ZodOptional<z.ZodString>;
|
|
211
|
+
sourceLang: z.ZodOptional<z.ZodString>;
|
|
212
|
+
strength: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
213
|
+
style: z.ZodOptional<z.ZodString>;
|
|
214
|
+
styleType: z.ZodOptional<z.ZodString>;
|
|
215
|
+
targetLang: z.ZodOptional<z.ZodString>;
|
|
216
|
+
thinkingMode: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
+
topScale: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
218
|
+
upscaleFactor: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
219
|
+
}, z.core.$strip>;
|
|
220
|
+
/** The catalog entry for `key`. */
|
|
221
|
+
declare function paramCatalogEntry(key: CanonicalParamKey): ImageParamCatalogEntry;
|
|
222
|
+
/**
|
|
223
|
+
* The vendor wire field name for a canonical param: the catalog `wire` override
|
|
224
|
+
* when set, else the auto camelCase→snake_case form. This is the SINGLE source
|
|
225
|
+
* of the canonical→wire rename — every flat-body provider (silicon / dashscope /
|
|
226
|
+
* dmxapi / aihubmix / …) derives its field name from here instead of repeating
|
|
227
|
+
* the rename. Native params (`n`/`size`/`seed`/`aspectRatio`) are routed by
|
|
228
|
+
* `AI_SDK_NATIVE_BINDINGS` and don't go through this.
|
|
229
|
+
*/
|
|
230
|
+
declare function wireName(key: CanonicalParamKey): string;
|
|
231
|
+
/** Every canonical key the catalog covers (for the exhaustiveness lock test). */
|
|
232
|
+
declare const IMAGE_PARAM_CATALOG_KEYS: CanonicalParamKey[];
|
|
233
|
+
//#endregion
|
|
234
|
+
//#region src/utils/buildParamsSchema.d.ts
|
|
235
|
+
declare function buildParamsSchema(support: ImageGenerationSupport | undefined, mode?: ImageGenerationMode): z.ZodType<Record<string, unknown>>;
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region src/schemas/reasoningWire.d.ts
|
|
238
|
+
/** Closed set of leaves the main-process reasoning interpreter may write. */
|
|
239
|
+
declare const REASONING_WIRE_TARGETS: readonly ["reasoningEffort", "reasoningSummary", "reasoning_effort", "reasoning.effort", "reasoning.enabled", "reasoning.exclude", "reasoning.max_tokens", "thinking.type", "thinking.budget_tokens", "thinking.budgetTokens", "thinking.display", "effort", "sendReasoning", "enable_thinking", "thinking_budget", "incremental_output", "disable_reasoning", "reasoning_budget", "chat_template_kwargs.enable_thinking", "chat_template_kwargs.thinking", "chat_template_kwargs.thinking_mode", "chat_template_kwargs.thinking_budget", "extra_body.google.thinking_config.thinking_budget", "extra_body.google.thinking_config.include_thoughts", "extra_body.thinking.type", "extra_body.thinking_budget", "extra_body.reasoning_effort", "thinkingConfig.includeThoughts", "thinkingConfig.thinkingBudget", "thinkingConfig.thinkingLevel", "reasoningConfig.type", "reasoningConfig.budgetTokens", "reasoningConfig.maxReasoningEffort", "think"];
|
|
240
|
+
declare const ReasoningWireTargetSchema: z.ZodEnum<{
|
|
241
|
+
effort: "effort";
|
|
242
|
+
reasoningEffort: "reasoningEffort";
|
|
243
|
+
reasoningSummary: "reasoningSummary";
|
|
244
|
+
reasoning_effort: "reasoning_effort";
|
|
245
|
+
"reasoning.effort": "reasoning.effort";
|
|
246
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
247
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
248
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
249
|
+
"thinking.type": "thinking.type";
|
|
250
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
251
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
252
|
+
"thinking.display": "thinking.display";
|
|
253
|
+
sendReasoning: "sendReasoning";
|
|
254
|
+
enable_thinking: "enable_thinking";
|
|
255
|
+
thinking_budget: "thinking_budget";
|
|
256
|
+
incremental_output: "incremental_output";
|
|
257
|
+
disable_reasoning: "disable_reasoning";
|
|
258
|
+
reasoning_budget: "reasoning_budget";
|
|
259
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
260
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
261
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
262
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
263
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
264
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
265
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
266
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
267
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
268
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
269
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
270
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
271
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
272
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
273
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
274
|
+
think: "think";
|
|
275
|
+
}>;
|
|
276
|
+
type ReasoningWireTarget = z.infer<typeof ReasoningWireTargetSchema>;
|
|
277
|
+
declare const ReasoningWireValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
278
|
+
source: z.ZodLiteral<"literal">;
|
|
279
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
280
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
281
|
+
source: z.ZodLiteral<"effort">;
|
|
282
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
283
|
+
source: z.ZodLiteral<"budget">;
|
|
284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
286
|
+
}, z.core.$strip>], "source">;
|
|
287
|
+
type ReasoningWireValue = z.infer<typeof ReasoningWireValueSchema>;
|
|
288
|
+
declare const ReasoningWireOperationSchema: z.ZodObject<{
|
|
289
|
+
target: z.ZodEnum<{
|
|
290
|
+
effort: "effort";
|
|
291
|
+
reasoningEffort: "reasoningEffort";
|
|
292
|
+
reasoningSummary: "reasoningSummary";
|
|
293
|
+
reasoning_effort: "reasoning_effort";
|
|
294
|
+
"reasoning.effort": "reasoning.effort";
|
|
295
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
296
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
297
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
298
|
+
"thinking.type": "thinking.type";
|
|
299
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
300
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
301
|
+
"thinking.display": "thinking.display";
|
|
302
|
+
sendReasoning: "sendReasoning";
|
|
303
|
+
enable_thinking: "enable_thinking";
|
|
304
|
+
thinking_budget: "thinking_budget";
|
|
305
|
+
incremental_output: "incremental_output";
|
|
306
|
+
disable_reasoning: "disable_reasoning";
|
|
307
|
+
reasoning_budget: "reasoning_budget";
|
|
308
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
309
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
310
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
311
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
312
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
313
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
314
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
315
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
316
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
317
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
318
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
319
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
320
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
321
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
322
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
323
|
+
think: "think";
|
|
324
|
+
}>;
|
|
325
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
326
|
+
source: z.ZodLiteral<"literal">;
|
|
327
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
328
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
329
|
+
source: z.ZodLiteral<"effort">;
|
|
330
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
331
|
+
source: z.ZodLiteral<"budget">;
|
|
332
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
333
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
334
|
+
}, z.core.$strip>], "source">;
|
|
335
|
+
}, z.core.$strip>;
|
|
336
|
+
type ReasoningWireOperation = z.infer<typeof ReasoningWireOperationSchema>;
|
|
337
|
+
declare const ReasoningWireModeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
338
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
339
|
+
target: z.ZodEnum<{
|
|
340
|
+
effort: "effort";
|
|
341
|
+
reasoningEffort: "reasoningEffort";
|
|
342
|
+
reasoningSummary: "reasoningSummary";
|
|
343
|
+
reasoning_effort: "reasoning_effort";
|
|
344
|
+
"reasoning.effort": "reasoning.effort";
|
|
345
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
346
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
347
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
348
|
+
"thinking.type": "thinking.type";
|
|
349
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
350
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
351
|
+
"thinking.display": "thinking.display";
|
|
352
|
+
sendReasoning: "sendReasoning";
|
|
353
|
+
enable_thinking: "enable_thinking";
|
|
354
|
+
thinking_budget: "thinking_budget";
|
|
355
|
+
incremental_output: "incremental_output";
|
|
356
|
+
disable_reasoning: "disable_reasoning";
|
|
357
|
+
reasoning_budget: "reasoning_budget";
|
|
358
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
359
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
360
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
361
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
362
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
363
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
364
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
365
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
366
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
367
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
368
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
369
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
370
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
371
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
372
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
373
|
+
think: "think";
|
|
374
|
+
}>;
|
|
375
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
376
|
+
source: z.ZodLiteral<"literal">;
|
|
377
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
378
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
379
|
+
source: z.ZodLiteral<"effort">;
|
|
380
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
381
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
382
|
+
}, z.core.$strip>], "source">;
|
|
383
|
+
}, z.core.$strip>>;
|
|
384
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
385
|
+
none: "none";
|
|
386
|
+
minimal: "minimal";
|
|
387
|
+
low: "low";
|
|
388
|
+
medium: "medium";
|
|
389
|
+
high: "high";
|
|
390
|
+
xhigh: "xhigh";
|
|
391
|
+
max: "max";
|
|
392
|
+
ultra: "ultra";
|
|
393
|
+
auto: "auto";
|
|
394
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
395
|
+
none: "none";
|
|
396
|
+
minimal: "minimal";
|
|
397
|
+
low: "low";
|
|
398
|
+
medium: "medium";
|
|
399
|
+
high: "high";
|
|
400
|
+
xhigh: "xhigh";
|
|
401
|
+
max: "max";
|
|
402
|
+
ultra: "ultra";
|
|
403
|
+
auto: "auto";
|
|
404
|
+
}>>>;
|
|
405
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
406
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
407
|
+
target: z.ZodEnum<{
|
|
408
|
+
effort: "effort";
|
|
409
|
+
reasoningEffort: "reasoningEffort";
|
|
410
|
+
reasoningSummary: "reasoningSummary";
|
|
411
|
+
reasoning_effort: "reasoning_effort";
|
|
412
|
+
"reasoning.effort": "reasoning.effort";
|
|
413
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
414
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
415
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
416
|
+
"thinking.type": "thinking.type";
|
|
417
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
418
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
419
|
+
"thinking.display": "thinking.display";
|
|
420
|
+
sendReasoning: "sendReasoning";
|
|
421
|
+
enable_thinking: "enable_thinking";
|
|
422
|
+
thinking_budget: "thinking_budget";
|
|
423
|
+
incremental_output: "incremental_output";
|
|
424
|
+
disable_reasoning: "disable_reasoning";
|
|
425
|
+
reasoning_budget: "reasoning_budget";
|
|
426
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
427
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
428
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
429
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
430
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
431
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
432
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
433
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
434
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
435
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
436
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
437
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
438
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
439
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
440
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
441
|
+
think: "think";
|
|
442
|
+
}>;
|
|
443
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
444
|
+
source: z.ZodLiteral<"literal">;
|
|
445
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
446
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
447
|
+
source: z.ZodLiteral<"effort">;
|
|
448
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
449
|
+
source: z.ZodLiteral<"budget">;
|
|
450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
451
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
452
|
+
}, z.core.$strip>], "source">;
|
|
453
|
+
}, z.core.$strip>>;
|
|
454
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
455
|
+
none: "none";
|
|
456
|
+
minimal: "minimal";
|
|
457
|
+
low: "low";
|
|
458
|
+
medium: "medium";
|
|
459
|
+
high: "high";
|
|
460
|
+
xhigh: "xhigh";
|
|
461
|
+
max: "max";
|
|
462
|
+
ultra: "ultra";
|
|
463
|
+
auto: "auto";
|
|
464
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
465
|
+
none: "none";
|
|
466
|
+
minimal: "minimal";
|
|
467
|
+
low: "low";
|
|
468
|
+
medium: "medium";
|
|
469
|
+
high: "high";
|
|
470
|
+
xhigh: "xhigh";
|
|
471
|
+
max: "max";
|
|
472
|
+
ultra: "ultra";
|
|
473
|
+
auto: "auto";
|
|
474
|
+
}>>>;
|
|
475
|
+
budget: z.ZodObject<{
|
|
476
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
477
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
478
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
479
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
480
|
+
type: z.ZodLiteral<"omit-value">;
|
|
481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
482
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
483
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
484
|
+
type: z.ZodLiteral<"fallback">;
|
|
485
|
+
value: z.ZodNumber;
|
|
486
|
+
}, z.core.$strip>], "type">;
|
|
487
|
+
}, z.core.$strip>;
|
|
488
|
+
}, z.core.$strip>]>;
|
|
489
|
+
type ReasoningWireMode = z.infer<typeof ReasoningWireModeSchema>;
|
|
490
|
+
declare const ReasoningWireProfileSchema: z.ZodObject<{
|
|
491
|
+
disabled: z.ZodOptional<z.ZodLiteral<true>>;
|
|
492
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
493
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
494
|
+
target: z.ZodEnum<{
|
|
495
|
+
effort: "effort";
|
|
496
|
+
reasoningEffort: "reasoningEffort";
|
|
497
|
+
reasoningSummary: "reasoningSummary";
|
|
498
|
+
reasoning_effort: "reasoning_effort";
|
|
499
|
+
"reasoning.effort": "reasoning.effort";
|
|
500
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
501
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
502
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
503
|
+
"thinking.type": "thinking.type";
|
|
504
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
505
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
506
|
+
"thinking.display": "thinking.display";
|
|
507
|
+
sendReasoning: "sendReasoning";
|
|
508
|
+
enable_thinking: "enable_thinking";
|
|
509
|
+
thinking_budget: "thinking_budget";
|
|
510
|
+
incremental_output: "incremental_output";
|
|
511
|
+
disable_reasoning: "disable_reasoning";
|
|
512
|
+
reasoning_budget: "reasoning_budget";
|
|
513
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
514
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
515
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
516
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
517
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
518
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
519
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
520
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
521
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
522
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
523
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
524
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
525
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
526
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
527
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
528
|
+
think: "think";
|
|
529
|
+
}>;
|
|
530
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
531
|
+
source: z.ZodLiteral<"literal">;
|
|
532
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
533
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
534
|
+
source: z.ZodLiteral<"effort">;
|
|
535
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
536
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
537
|
+
}, z.core.$strip>], "source">;
|
|
538
|
+
}, z.core.$strip>>;
|
|
539
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
540
|
+
none: "none";
|
|
541
|
+
minimal: "minimal";
|
|
542
|
+
low: "low";
|
|
543
|
+
medium: "medium";
|
|
544
|
+
high: "high";
|
|
545
|
+
xhigh: "xhigh";
|
|
546
|
+
max: "max";
|
|
547
|
+
ultra: "ultra";
|
|
548
|
+
auto: "auto";
|
|
549
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
550
|
+
none: "none";
|
|
551
|
+
minimal: "minimal";
|
|
552
|
+
low: "low";
|
|
553
|
+
medium: "medium";
|
|
554
|
+
high: "high";
|
|
555
|
+
xhigh: "xhigh";
|
|
556
|
+
max: "max";
|
|
557
|
+
ultra: "ultra";
|
|
558
|
+
auto: "auto";
|
|
559
|
+
}>>>;
|
|
560
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
561
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
562
|
+
target: z.ZodEnum<{
|
|
563
|
+
effort: "effort";
|
|
564
|
+
reasoningEffort: "reasoningEffort";
|
|
565
|
+
reasoningSummary: "reasoningSummary";
|
|
566
|
+
reasoning_effort: "reasoning_effort";
|
|
567
|
+
"reasoning.effort": "reasoning.effort";
|
|
568
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
569
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
570
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
571
|
+
"thinking.type": "thinking.type";
|
|
572
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
573
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
574
|
+
"thinking.display": "thinking.display";
|
|
575
|
+
sendReasoning: "sendReasoning";
|
|
576
|
+
enable_thinking: "enable_thinking";
|
|
577
|
+
thinking_budget: "thinking_budget";
|
|
578
|
+
incremental_output: "incremental_output";
|
|
579
|
+
disable_reasoning: "disable_reasoning";
|
|
580
|
+
reasoning_budget: "reasoning_budget";
|
|
581
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
582
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
583
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
584
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
585
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
586
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
587
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
588
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
589
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
590
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
591
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
592
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
593
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
594
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
595
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
596
|
+
think: "think";
|
|
597
|
+
}>;
|
|
598
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
599
|
+
source: z.ZodLiteral<"literal">;
|
|
600
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
601
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
602
|
+
source: z.ZodLiteral<"effort">;
|
|
603
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
604
|
+
source: z.ZodLiteral<"budget">;
|
|
605
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
606
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
607
|
+
}, z.core.$strip>], "source">;
|
|
608
|
+
}, z.core.$strip>>;
|
|
609
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
610
|
+
none: "none";
|
|
611
|
+
minimal: "minimal";
|
|
612
|
+
low: "low";
|
|
613
|
+
medium: "medium";
|
|
614
|
+
high: "high";
|
|
615
|
+
xhigh: "xhigh";
|
|
616
|
+
max: "max";
|
|
617
|
+
ultra: "ultra";
|
|
618
|
+
auto: "auto";
|
|
619
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
620
|
+
none: "none";
|
|
621
|
+
minimal: "minimal";
|
|
622
|
+
low: "low";
|
|
623
|
+
medium: "medium";
|
|
624
|
+
high: "high";
|
|
625
|
+
xhigh: "xhigh";
|
|
626
|
+
max: "max";
|
|
627
|
+
ultra: "ultra";
|
|
628
|
+
auto: "auto";
|
|
629
|
+
}>>>;
|
|
630
|
+
budget: z.ZodObject<{
|
|
631
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
632
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
633
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
634
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
635
|
+
type: z.ZodLiteral<"omit-value">;
|
|
636
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
637
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
638
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
639
|
+
type: z.ZodLiteral<"fallback">;
|
|
640
|
+
value: z.ZodNumber;
|
|
641
|
+
}, z.core.$strip>], "type">;
|
|
642
|
+
}, z.core.$strip>;
|
|
643
|
+
}, z.core.$strip>]>>;
|
|
644
|
+
off: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
645
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
646
|
+
target: z.ZodEnum<{
|
|
647
|
+
effort: "effort";
|
|
648
|
+
reasoningEffort: "reasoningEffort";
|
|
649
|
+
reasoningSummary: "reasoningSummary";
|
|
650
|
+
reasoning_effort: "reasoning_effort";
|
|
651
|
+
"reasoning.effort": "reasoning.effort";
|
|
652
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
653
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
654
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
655
|
+
"thinking.type": "thinking.type";
|
|
656
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
657
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
658
|
+
"thinking.display": "thinking.display";
|
|
659
|
+
sendReasoning: "sendReasoning";
|
|
660
|
+
enable_thinking: "enable_thinking";
|
|
661
|
+
thinking_budget: "thinking_budget";
|
|
662
|
+
incremental_output: "incremental_output";
|
|
663
|
+
disable_reasoning: "disable_reasoning";
|
|
664
|
+
reasoning_budget: "reasoning_budget";
|
|
665
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
666
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
667
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
668
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
669
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
670
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
671
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
672
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
673
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
674
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
675
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
676
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
677
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
678
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
679
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
680
|
+
think: "think";
|
|
681
|
+
}>;
|
|
682
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
683
|
+
source: z.ZodLiteral<"literal">;
|
|
684
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
685
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
686
|
+
source: z.ZodLiteral<"effort">;
|
|
687
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
688
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
689
|
+
}, z.core.$strip>], "source">;
|
|
690
|
+
}, z.core.$strip>>;
|
|
691
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
692
|
+
none: "none";
|
|
693
|
+
minimal: "minimal";
|
|
694
|
+
low: "low";
|
|
695
|
+
medium: "medium";
|
|
696
|
+
high: "high";
|
|
697
|
+
xhigh: "xhigh";
|
|
698
|
+
max: "max";
|
|
699
|
+
ultra: "ultra";
|
|
700
|
+
auto: "auto";
|
|
701
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
702
|
+
none: "none";
|
|
703
|
+
minimal: "minimal";
|
|
704
|
+
low: "low";
|
|
705
|
+
medium: "medium";
|
|
706
|
+
high: "high";
|
|
707
|
+
xhigh: "xhigh";
|
|
708
|
+
max: "max";
|
|
709
|
+
ultra: "ultra";
|
|
710
|
+
auto: "auto";
|
|
711
|
+
}>>>;
|
|
712
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
713
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
714
|
+
target: z.ZodEnum<{
|
|
715
|
+
effort: "effort";
|
|
716
|
+
reasoningEffort: "reasoningEffort";
|
|
717
|
+
reasoningSummary: "reasoningSummary";
|
|
718
|
+
reasoning_effort: "reasoning_effort";
|
|
719
|
+
"reasoning.effort": "reasoning.effort";
|
|
720
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
721
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
722
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
723
|
+
"thinking.type": "thinking.type";
|
|
724
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
725
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
726
|
+
"thinking.display": "thinking.display";
|
|
727
|
+
sendReasoning: "sendReasoning";
|
|
728
|
+
enable_thinking: "enable_thinking";
|
|
729
|
+
thinking_budget: "thinking_budget";
|
|
730
|
+
incremental_output: "incremental_output";
|
|
731
|
+
disable_reasoning: "disable_reasoning";
|
|
732
|
+
reasoning_budget: "reasoning_budget";
|
|
733
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
734
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
735
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
736
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
737
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
738
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
739
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
740
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
741
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
742
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
743
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
744
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
745
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
746
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
747
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
748
|
+
think: "think";
|
|
749
|
+
}>;
|
|
750
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
751
|
+
source: z.ZodLiteral<"literal">;
|
|
752
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
753
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
754
|
+
source: z.ZodLiteral<"effort">;
|
|
755
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
756
|
+
source: z.ZodLiteral<"budget">;
|
|
757
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
758
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
759
|
+
}, z.core.$strip>], "source">;
|
|
760
|
+
}, z.core.$strip>>;
|
|
761
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
762
|
+
none: "none";
|
|
763
|
+
minimal: "minimal";
|
|
764
|
+
low: "low";
|
|
765
|
+
medium: "medium";
|
|
766
|
+
high: "high";
|
|
767
|
+
xhigh: "xhigh";
|
|
768
|
+
max: "max";
|
|
769
|
+
ultra: "ultra";
|
|
770
|
+
auto: "auto";
|
|
771
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
772
|
+
none: "none";
|
|
773
|
+
minimal: "minimal";
|
|
774
|
+
low: "low";
|
|
775
|
+
medium: "medium";
|
|
776
|
+
high: "high";
|
|
777
|
+
xhigh: "xhigh";
|
|
778
|
+
max: "max";
|
|
779
|
+
ultra: "ultra";
|
|
780
|
+
auto: "auto";
|
|
781
|
+
}>>>;
|
|
782
|
+
budget: z.ZodObject<{
|
|
783
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
784
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
785
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
786
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
787
|
+
type: z.ZodLiteral<"omit-value">;
|
|
788
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
789
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
790
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
791
|
+
type: z.ZodLiteral<"fallback">;
|
|
792
|
+
value: z.ZodNumber;
|
|
793
|
+
}, z.core.$strip>], "type">;
|
|
794
|
+
}, z.core.$strip>;
|
|
795
|
+
}, z.core.$strip>]>>;
|
|
796
|
+
auto: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
797
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
798
|
+
target: z.ZodEnum<{
|
|
799
|
+
effort: "effort";
|
|
800
|
+
reasoningEffort: "reasoningEffort";
|
|
801
|
+
reasoningSummary: "reasoningSummary";
|
|
802
|
+
reasoning_effort: "reasoning_effort";
|
|
803
|
+
"reasoning.effort": "reasoning.effort";
|
|
804
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
805
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
806
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
807
|
+
"thinking.type": "thinking.type";
|
|
808
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
809
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
810
|
+
"thinking.display": "thinking.display";
|
|
811
|
+
sendReasoning: "sendReasoning";
|
|
812
|
+
enable_thinking: "enable_thinking";
|
|
813
|
+
thinking_budget: "thinking_budget";
|
|
814
|
+
incremental_output: "incremental_output";
|
|
815
|
+
disable_reasoning: "disable_reasoning";
|
|
816
|
+
reasoning_budget: "reasoning_budget";
|
|
817
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
818
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
819
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
820
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
821
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
822
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
823
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
824
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
825
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
826
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
827
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
828
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
829
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
830
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
831
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
832
|
+
think: "think";
|
|
833
|
+
}>;
|
|
834
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
835
|
+
source: z.ZodLiteral<"literal">;
|
|
836
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
837
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
838
|
+
source: z.ZodLiteral<"effort">;
|
|
839
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
840
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
841
|
+
}, z.core.$strip>], "source">;
|
|
842
|
+
}, z.core.$strip>>;
|
|
843
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
844
|
+
none: "none";
|
|
845
|
+
minimal: "minimal";
|
|
846
|
+
low: "low";
|
|
847
|
+
medium: "medium";
|
|
848
|
+
high: "high";
|
|
849
|
+
xhigh: "xhigh";
|
|
850
|
+
max: "max";
|
|
851
|
+
ultra: "ultra";
|
|
852
|
+
auto: "auto";
|
|
853
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
854
|
+
none: "none";
|
|
855
|
+
minimal: "minimal";
|
|
856
|
+
low: "low";
|
|
857
|
+
medium: "medium";
|
|
858
|
+
high: "high";
|
|
859
|
+
xhigh: "xhigh";
|
|
860
|
+
max: "max";
|
|
861
|
+
ultra: "ultra";
|
|
862
|
+
auto: "auto";
|
|
863
|
+
}>>>;
|
|
864
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
865
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
866
|
+
target: z.ZodEnum<{
|
|
867
|
+
effort: "effort";
|
|
868
|
+
reasoningEffort: "reasoningEffort";
|
|
869
|
+
reasoningSummary: "reasoningSummary";
|
|
870
|
+
reasoning_effort: "reasoning_effort";
|
|
871
|
+
"reasoning.effort": "reasoning.effort";
|
|
872
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
873
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
874
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
875
|
+
"thinking.type": "thinking.type";
|
|
876
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
877
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
878
|
+
"thinking.display": "thinking.display";
|
|
879
|
+
sendReasoning: "sendReasoning";
|
|
880
|
+
enable_thinking: "enable_thinking";
|
|
881
|
+
thinking_budget: "thinking_budget";
|
|
882
|
+
incremental_output: "incremental_output";
|
|
883
|
+
disable_reasoning: "disable_reasoning";
|
|
884
|
+
reasoning_budget: "reasoning_budget";
|
|
885
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
886
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
887
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
888
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
889
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
890
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
891
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
892
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
893
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
894
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
895
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
896
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
897
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
898
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
899
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
900
|
+
think: "think";
|
|
901
|
+
}>;
|
|
902
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
903
|
+
source: z.ZodLiteral<"literal">;
|
|
904
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
905
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
906
|
+
source: z.ZodLiteral<"effort">;
|
|
907
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
908
|
+
source: z.ZodLiteral<"budget">;
|
|
909
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
910
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
911
|
+
}, z.core.$strip>], "source">;
|
|
912
|
+
}, z.core.$strip>>;
|
|
913
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
914
|
+
none: "none";
|
|
915
|
+
minimal: "minimal";
|
|
916
|
+
low: "low";
|
|
917
|
+
medium: "medium";
|
|
918
|
+
high: "high";
|
|
919
|
+
xhigh: "xhigh";
|
|
920
|
+
max: "max";
|
|
921
|
+
ultra: "ultra";
|
|
922
|
+
auto: "auto";
|
|
923
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
924
|
+
none: "none";
|
|
925
|
+
minimal: "minimal";
|
|
926
|
+
low: "low";
|
|
927
|
+
medium: "medium";
|
|
928
|
+
high: "high";
|
|
929
|
+
xhigh: "xhigh";
|
|
930
|
+
max: "max";
|
|
931
|
+
ultra: "ultra";
|
|
932
|
+
auto: "auto";
|
|
933
|
+
}>>>;
|
|
934
|
+
budget: z.ZodObject<{
|
|
935
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
936
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
937
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
938
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
939
|
+
type: z.ZodLiteral<"omit-value">;
|
|
940
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
941
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
942
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
943
|
+
type: z.ZodLiteral<"fallback">;
|
|
944
|
+
value: z.ZodNumber;
|
|
945
|
+
}, z.core.$strip>], "type">;
|
|
946
|
+
}, z.core.$strip>;
|
|
947
|
+
}, z.core.$strip>]>>;
|
|
948
|
+
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
949
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
950
|
+
target: z.ZodEnum<{
|
|
951
|
+
effort: "effort";
|
|
952
|
+
reasoningEffort: "reasoningEffort";
|
|
953
|
+
reasoningSummary: "reasoningSummary";
|
|
954
|
+
reasoning_effort: "reasoning_effort";
|
|
955
|
+
"reasoning.effort": "reasoning.effort";
|
|
956
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
957
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
958
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
959
|
+
"thinking.type": "thinking.type";
|
|
960
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
961
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
962
|
+
"thinking.display": "thinking.display";
|
|
963
|
+
sendReasoning: "sendReasoning";
|
|
964
|
+
enable_thinking: "enable_thinking";
|
|
965
|
+
thinking_budget: "thinking_budget";
|
|
966
|
+
incremental_output: "incremental_output";
|
|
967
|
+
disable_reasoning: "disable_reasoning";
|
|
968
|
+
reasoning_budget: "reasoning_budget";
|
|
969
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
970
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
971
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
972
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
973
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
974
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
975
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
976
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
977
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
978
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
979
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
980
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
981
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
982
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
983
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
984
|
+
think: "think";
|
|
985
|
+
}>;
|
|
986
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
987
|
+
source: z.ZodLiteral<"literal">;
|
|
988
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
989
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
990
|
+
source: z.ZodLiteral<"effort">;
|
|
991
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
992
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
993
|
+
}, z.core.$strip>], "source">;
|
|
994
|
+
}, z.core.$strip>>;
|
|
995
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
996
|
+
none: "none";
|
|
997
|
+
minimal: "minimal";
|
|
998
|
+
low: "low";
|
|
999
|
+
medium: "medium";
|
|
1000
|
+
high: "high";
|
|
1001
|
+
xhigh: "xhigh";
|
|
1002
|
+
max: "max";
|
|
1003
|
+
ultra: "ultra";
|
|
1004
|
+
auto: "auto";
|
|
1005
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1006
|
+
none: "none";
|
|
1007
|
+
minimal: "minimal";
|
|
1008
|
+
low: "low";
|
|
1009
|
+
medium: "medium";
|
|
1010
|
+
high: "high";
|
|
1011
|
+
xhigh: "xhigh";
|
|
1012
|
+
max: "max";
|
|
1013
|
+
ultra: "ultra";
|
|
1014
|
+
auto: "auto";
|
|
1015
|
+
}>>>;
|
|
1016
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1017
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1018
|
+
target: z.ZodEnum<{
|
|
1019
|
+
effort: "effort";
|
|
1020
|
+
reasoningEffort: "reasoningEffort";
|
|
1021
|
+
reasoningSummary: "reasoningSummary";
|
|
1022
|
+
reasoning_effort: "reasoning_effort";
|
|
1023
|
+
"reasoning.effort": "reasoning.effort";
|
|
1024
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1025
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1026
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1027
|
+
"thinking.type": "thinking.type";
|
|
1028
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1029
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1030
|
+
"thinking.display": "thinking.display";
|
|
1031
|
+
sendReasoning: "sendReasoning";
|
|
1032
|
+
enable_thinking: "enable_thinking";
|
|
1033
|
+
thinking_budget: "thinking_budget";
|
|
1034
|
+
incremental_output: "incremental_output";
|
|
1035
|
+
disable_reasoning: "disable_reasoning";
|
|
1036
|
+
reasoning_budget: "reasoning_budget";
|
|
1037
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1038
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1039
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1040
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1041
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1042
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1043
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1044
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1045
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1046
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1047
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1048
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1049
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1050
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1051
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1052
|
+
think: "think";
|
|
1053
|
+
}>;
|
|
1054
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1055
|
+
source: z.ZodLiteral<"literal">;
|
|
1056
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1057
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1058
|
+
source: z.ZodLiteral<"effort">;
|
|
1059
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1060
|
+
source: z.ZodLiteral<"budget">;
|
|
1061
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1062
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1063
|
+
}, z.core.$strip>], "source">;
|
|
1064
|
+
}, z.core.$strip>>;
|
|
1065
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1066
|
+
none: "none";
|
|
1067
|
+
minimal: "minimal";
|
|
1068
|
+
low: "low";
|
|
1069
|
+
medium: "medium";
|
|
1070
|
+
high: "high";
|
|
1071
|
+
xhigh: "xhigh";
|
|
1072
|
+
max: "max";
|
|
1073
|
+
ultra: "ultra";
|
|
1074
|
+
auto: "auto";
|
|
1075
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1076
|
+
none: "none";
|
|
1077
|
+
minimal: "minimal";
|
|
1078
|
+
low: "low";
|
|
1079
|
+
medium: "medium";
|
|
1080
|
+
high: "high";
|
|
1081
|
+
xhigh: "xhigh";
|
|
1082
|
+
max: "max";
|
|
1083
|
+
ultra: "ultra";
|
|
1084
|
+
auto: "auto";
|
|
1085
|
+
}>>>;
|
|
1086
|
+
budget: z.ZodObject<{
|
|
1087
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1088
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
1089
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
1090
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1091
|
+
type: z.ZodLiteral<"omit-value">;
|
|
1092
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1093
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
1094
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1095
|
+
type: z.ZodLiteral<"fallback">;
|
|
1096
|
+
value: z.ZodNumber;
|
|
1097
|
+
}, z.core.$strip>], "type">;
|
|
1098
|
+
}, z.core.$strip>;
|
|
1099
|
+
}, z.core.$strip>]>>;
|
|
1100
|
+
}, z.core.$strip>;
|
|
1101
|
+
type ReasoningWireProfile = z.infer<typeof ReasoningWireProfileSchema>;
|
|
1102
|
+
declare const ReasoningFormatWireProfileSchema: z.ZodObject<{
|
|
1103
|
+
wire: z.ZodObject<{
|
|
1104
|
+
disabled: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1105
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1106
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1107
|
+
target: z.ZodEnum<{
|
|
1108
|
+
effort: "effort";
|
|
1109
|
+
reasoningEffort: "reasoningEffort";
|
|
1110
|
+
reasoningSummary: "reasoningSummary";
|
|
1111
|
+
reasoning_effort: "reasoning_effort";
|
|
1112
|
+
"reasoning.effort": "reasoning.effort";
|
|
1113
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1114
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1115
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1116
|
+
"thinking.type": "thinking.type";
|
|
1117
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1118
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1119
|
+
"thinking.display": "thinking.display";
|
|
1120
|
+
sendReasoning: "sendReasoning";
|
|
1121
|
+
enable_thinking: "enable_thinking";
|
|
1122
|
+
thinking_budget: "thinking_budget";
|
|
1123
|
+
incremental_output: "incremental_output";
|
|
1124
|
+
disable_reasoning: "disable_reasoning";
|
|
1125
|
+
reasoning_budget: "reasoning_budget";
|
|
1126
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1127
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1128
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1129
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1130
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1131
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1132
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1133
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1134
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1135
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1136
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1137
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1138
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1139
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1140
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1141
|
+
think: "think";
|
|
1142
|
+
}>;
|
|
1143
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1144
|
+
source: z.ZodLiteral<"literal">;
|
|
1145
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1146
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1147
|
+
source: z.ZodLiteral<"effort">;
|
|
1148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1149
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1150
|
+
}, z.core.$strip>], "source">;
|
|
1151
|
+
}, z.core.$strip>>;
|
|
1152
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1153
|
+
none: "none";
|
|
1154
|
+
minimal: "minimal";
|
|
1155
|
+
low: "low";
|
|
1156
|
+
medium: "medium";
|
|
1157
|
+
high: "high";
|
|
1158
|
+
xhigh: "xhigh";
|
|
1159
|
+
max: "max";
|
|
1160
|
+
ultra: "ultra";
|
|
1161
|
+
auto: "auto";
|
|
1162
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1163
|
+
none: "none";
|
|
1164
|
+
minimal: "minimal";
|
|
1165
|
+
low: "low";
|
|
1166
|
+
medium: "medium";
|
|
1167
|
+
high: "high";
|
|
1168
|
+
xhigh: "xhigh";
|
|
1169
|
+
max: "max";
|
|
1170
|
+
ultra: "ultra";
|
|
1171
|
+
auto: "auto";
|
|
1172
|
+
}>>>;
|
|
1173
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1174
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1175
|
+
target: z.ZodEnum<{
|
|
1176
|
+
effort: "effort";
|
|
1177
|
+
reasoningEffort: "reasoningEffort";
|
|
1178
|
+
reasoningSummary: "reasoningSummary";
|
|
1179
|
+
reasoning_effort: "reasoning_effort";
|
|
1180
|
+
"reasoning.effort": "reasoning.effort";
|
|
1181
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1182
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1183
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1184
|
+
"thinking.type": "thinking.type";
|
|
1185
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1186
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1187
|
+
"thinking.display": "thinking.display";
|
|
1188
|
+
sendReasoning: "sendReasoning";
|
|
1189
|
+
enable_thinking: "enable_thinking";
|
|
1190
|
+
thinking_budget: "thinking_budget";
|
|
1191
|
+
incremental_output: "incremental_output";
|
|
1192
|
+
disable_reasoning: "disable_reasoning";
|
|
1193
|
+
reasoning_budget: "reasoning_budget";
|
|
1194
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1195
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1196
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1197
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1198
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1199
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1200
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1201
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1202
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1203
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1204
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1205
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1206
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1207
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1208
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1209
|
+
think: "think";
|
|
1210
|
+
}>;
|
|
1211
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1212
|
+
source: z.ZodLiteral<"literal">;
|
|
1213
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1214
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1215
|
+
source: z.ZodLiteral<"effort">;
|
|
1216
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1217
|
+
source: z.ZodLiteral<"budget">;
|
|
1218
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1219
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1220
|
+
}, z.core.$strip>], "source">;
|
|
1221
|
+
}, z.core.$strip>>;
|
|
1222
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1223
|
+
none: "none";
|
|
1224
|
+
minimal: "minimal";
|
|
1225
|
+
low: "low";
|
|
1226
|
+
medium: "medium";
|
|
1227
|
+
high: "high";
|
|
1228
|
+
xhigh: "xhigh";
|
|
1229
|
+
max: "max";
|
|
1230
|
+
ultra: "ultra";
|
|
1231
|
+
auto: "auto";
|
|
1232
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1233
|
+
none: "none";
|
|
1234
|
+
minimal: "minimal";
|
|
1235
|
+
low: "low";
|
|
1236
|
+
medium: "medium";
|
|
1237
|
+
high: "high";
|
|
1238
|
+
xhigh: "xhigh";
|
|
1239
|
+
max: "max";
|
|
1240
|
+
ultra: "ultra";
|
|
1241
|
+
auto: "auto";
|
|
1242
|
+
}>>>;
|
|
1243
|
+
budget: z.ZodObject<{
|
|
1244
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1245
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
1246
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
1247
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1248
|
+
type: z.ZodLiteral<"omit-value">;
|
|
1249
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1250
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
1251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1252
|
+
type: z.ZodLiteral<"fallback">;
|
|
1253
|
+
value: z.ZodNumber;
|
|
1254
|
+
}, z.core.$strip>], "type">;
|
|
1255
|
+
}, z.core.$strip>;
|
|
1256
|
+
}, z.core.$strip>]>>;
|
|
1257
|
+
off: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1258
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1259
|
+
target: z.ZodEnum<{
|
|
1260
|
+
effort: "effort";
|
|
1261
|
+
reasoningEffort: "reasoningEffort";
|
|
1262
|
+
reasoningSummary: "reasoningSummary";
|
|
1263
|
+
reasoning_effort: "reasoning_effort";
|
|
1264
|
+
"reasoning.effort": "reasoning.effort";
|
|
1265
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1266
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1267
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1268
|
+
"thinking.type": "thinking.type";
|
|
1269
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1270
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1271
|
+
"thinking.display": "thinking.display";
|
|
1272
|
+
sendReasoning: "sendReasoning";
|
|
1273
|
+
enable_thinking: "enable_thinking";
|
|
1274
|
+
thinking_budget: "thinking_budget";
|
|
1275
|
+
incremental_output: "incremental_output";
|
|
1276
|
+
disable_reasoning: "disable_reasoning";
|
|
1277
|
+
reasoning_budget: "reasoning_budget";
|
|
1278
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1279
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1280
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1281
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1282
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1283
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1284
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1285
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1286
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1287
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1288
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1289
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1290
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1291
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1292
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1293
|
+
think: "think";
|
|
1294
|
+
}>;
|
|
1295
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1296
|
+
source: z.ZodLiteral<"literal">;
|
|
1297
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1298
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1299
|
+
source: z.ZodLiteral<"effort">;
|
|
1300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1301
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1302
|
+
}, z.core.$strip>], "source">;
|
|
1303
|
+
}, z.core.$strip>>;
|
|
1304
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1305
|
+
none: "none";
|
|
1306
|
+
minimal: "minimal";
|
|
1307
|
+
low: "low";
|
|
1308
|
+
medium: "medium";
|
|
1309
|
+
high: "high";
|
|
1310
|
+
xhigh: "xhigh";
|
|
1311
|
+
max: "max";
|
|
1312
|
+
ultra: "ultra";
|
|
1313
|
+
auto: "auto";
|
|
1314
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1315
|
+
none: "none";
|
|
1316
|
+
minimal: "minimal";
|
|
1317
|
+
low: "low";
|
|
1318
|
+
medium: "medium";
|
|
1319
|
+
high: "high";
|
|
1320
|
+
xhigh: "xhigh";
|
|
1321
|
+
max: "max";
|
|
1322
|
+
ultra: "ultra";
|
|
1323
|
+
auto: "auto";
|
|
1324
|
+
}>>>;
|
|
1325
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1326
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1327
|
+
target: z.ZodEnum<{
|
|
1328
|
+
effort: "effort";
|
|
1329
|
+
reasoningEffort: "reasoningEffort";
|
|
1330
|
+
reasoningSummary: "reasoningSummary";
|
|
1331
|
+
reasoning_effort: "reasoning_effort";
|
|
1332
|
+
"reasoning.effort": "reasoning.effort";
|
|
1333
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1334
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1335
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1336
|
+
"thinking.type": "thinking.type";
|
|
1337
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1338
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1339
|
+
"thinking.display": "thinking.display";
|
|
1340
|
+
sendReasoning: "sendReasoning";
|
|
1341
|
+
enable_thinking: "enable_thinking";
|
|
1342
|
+
thinking_budget: "thinking_budget";
|
|
1343
|
+
incremental_output: "incremental_output";
|
|
1344
|
+
disable_reasoning: "disable_reasoning";
|
|
1345
|
+
reasoning_budget: "reasoning_budget";
|
|
1346
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1347
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1348
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1349
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1350
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1351
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1352
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1353
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1354
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1355
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1356
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1357
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1358
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1359
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1360
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1361
|
+
think: "think";
|
|
1362
|
+
}>;
|
|
1363
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1364
|
+
source: z.ZodLiteral<"literal">;
|
|
1365
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1366
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1367
|
+
source: z.ZodLiteral<"effort">;
|
|
1368
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1369
|
+
source: z.ZodLiteral<"budget">;
|
|
1370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1371
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1372
|
+
}, z.core.$strip>], "source">;
|
|
1373
|
+
}, z.core.$strip>>;
|
|
1374
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1375
|
+
none: "none";
|
|
1376
|
+
minimal: "minimal";
|
|
1377
|
+
low: "low";
|
|
1378
|
+
medium: "medium";
|
|
1379
|
+
high: "high";
|
|
1380
|
+
xhigh: "xhigh";
|
|
1381
|
+
max: "max";
|
|
1382
|
+
ultra: "ultra";
|
|
1383
|
+
auto: "auto";
|
|
1384
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1385
|
+
none: "none";
|
|
1386
|
+
minimal: "minimal";
|
|
1387
|
+
low: "low";
|
|
1388
|
+
medium: "medium";
|
|
1389
|
+
high: "high";
|
|
1390
|
+
xhigh: "xhigh";
|
|
1391
|
+
max: "max";
|
|
1392
|
+
ultra: "ultra";
|
|
1393
|
+
auto: "auto";
|
|
1394
|
+
}>>>;
|
|
1395
|
+
budget: z.ZodObject<{
|
|
1396
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1397
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
1398
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
1399
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1400
|
+
type: z.ZodLiteral<"omit-value">;
|
|
1401
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1402
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
1403
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1404
|
+
type: z.ZodLiteral<"fallback">;
|
|
1405
|
+
value: z.ZodNumber;
|
|
1406
|
+
}, z.core.$strip>], "type">;
|
|
1407
|
+
}, z.core.$strip>;
|
|
1408
|
+
}, z.core.$strip>]>>;
|
|
1409
|
+
auto: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1410
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1411
|
+
target: z.ZodEnum<{
|
|
1412
|
+
effort: "effort";
|
|
1413
|
+
reasoningEffort: "reasoningEffort";
|
|
1414
|
+
reasoningSummary: "reasoningSummary";
|
|
1415
|
+
reasoning_effort: "reasoning_effort";
|
|
1416
|
+
"reasoning.effort": "reasoning.effort";
|
|
1417
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1418
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1419
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1420
|
+
"thinking.type": "thinking.type";
|
|
1421
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1422
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1423
|
+
"thinking.display": "thinking.display";
|
|
1424
|
+
sendReasoning: "sendReasoning";
|
|
1425
|
+
enable_thinking: "enable_thinking";
|
|
1426
|
+
thinking_budget: "thinking_budget";
|
|
1427
|
+
incremental_output: "incremental_output";
|
|
1428
|
+
disable_reasoning: "disable_reasoning";
|
|
1429
|
+
reasoning_budget: "reasoning_budget";
|
|
1430
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1431
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1432
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1433
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1434
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1435
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1436
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1437
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1438
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1439
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1440
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1441
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1442
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1443
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1444
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1445
|
+
think: "think";
|
|
1446
|
+
}>;
|
|
1447
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1448
|
+
source: z.ZodLiteral<"literal">;
|
|
1449
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1451
|
+
source: z.ZodLiteral<"effort">;
|
|
1452
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1453
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1454
|
+
}, z.core.$strip>], "source">;
|
|
1455
|
+
}, z.core.$strip>>;
|
|
1456
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1457
|
+
none: "none";
|
|
1458
|
+
minimal: "minimal";
|
|
1459
|
+
low: "low";
|
|
1460
|
+
medium: "medium";
|
|
1461
|
+
high: "high";
|
|
1462
|
+
xhigh: "xhigh";
|
|
1463
|
+
max: "max";
|
|
1464
|
+
ultra: "ultra";
|
|
1465
|
+
auto: "auto";
|
|
1466
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1467
|
+
none: "none";
|
|
1468
|
+
minimal: "minimal";
|
|
1469
|
+
low: "low";
|
|
1470
|
+
medium: "medium";
|
|
1471
|
+
high: "high";
|
|
1472
|
+
xhigh: "xhigh";
|
|
1473
|
+
max: "max";
|
|
1474
|
+
ultra: "ultra";
|
|
1475
|
+
auto: "auto";
|
|
1476
|
+
}>>>;
|
|
1477
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1478
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1479
|
+
target: z.ZodEnum<{
|
|
1480
|
+
effort: "effort";
|
|
1481
|
+
reasoningEffort: "reasoningEffort";
|
|
1482
|
+
reasoningSummary: "reasoningSummary";
|
|
1483
|
+
reasoning_effort: "reasoning_effort";
|
|
1484
|
+
"reasoning.effort": "reasoning.effort";
|
|
1485
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1486
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1487
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1488
|
+
"thinking.type": "thinking.type";
|
|
1489
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1490
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1491
|
+
"thinking.display": "thinking.display";
|
|
1492
|
+
sendReasoning: "sendReasoning";
|
|
1493
|
+
enable_thinking: "enable_thinking";
|
|
1494
|
+
thinking_budget: "thinking_budget";
|
|
1495
|
+
incremental_output: "incremental_output";
|
|
1496
|
+
disable_reasoning: "disable_reasoning";
|
|
1497
|
+
reasoning_budget: "reasoning_budget";
|
|
1498
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1499
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1500
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1501
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1502
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1503
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1504
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1505
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1506
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1507
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1508
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1509
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1510
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1511
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1512
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1513
|
+
think: "think";
|
|
1514
|
+
}>;
|
|
1515
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1516
|
+
source: z.ZodLiteral<"literal">;
|
|
1517
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1518
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1519
|
+
source: z.ZodLiteral<"effort">;
|
|
1520
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1521
|
+
source: z.ZodLiteral<"budget">;
|
|
1522
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1523
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1524
|
+
}, z.core.$strip>], "source">;
|
|
1525
|
+
}, z.core.$strip>>;
|
|
1526
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1527
|
+
none: "none";
|
|
1528
|
+
minimal: "minimal";
|
|
1529
|
+
low: "low";
|
|
1530
|
+
medium: "medium";
|
|
1531
|
+
high: "high";
|
|
1532
|
+
xhigh: "xhigh";
|
|
1533
|
+
max: "max";
|
|
1534
|
+
ultra: "ultra";
|
|
1535
|
+
auto: "auto";
|
|
1536
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1537
|
+
none: "none";
|
|
1538
|
+
minimal: "minimal";
|
|
1539
|
+
low: "low";
|
|
1540
|
+
medium: "medium";
|
|
1541
|
+
high: "high";
|
|
1542
|
+
xhigh: "xhigh";
|
|
1543
|
+
max: "max";
|
|
1544
|
+
ultra: "ultra";
|
|
1545
|
+
auto: "auto";
|
|
1546
|
+
}>>>;
|
|
1547
|
+
budget: z.ZodObject<{
|
|
1548
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1549
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
1550
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
1551
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1552
|
+
type: z.ZodLiteral<"omit-value">;
|
|
1553
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1554
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
1555
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1556
|
+
type: z.ZodLiteral<"fallback">;
|
|
1557
|
+
value: z.ZodNumber;
|
|
1558
|
+
}, z.core.$strip>], "type">;
|
|
1559
|
+
}, z.core.$strip>;
|
|
1560
|
+
}, z.core.$strip>]>>;
|
|
1561
|
+
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1562
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1563
|
+
target: z.ZodEnum<{
|
|
1564
|
+
effort: "effort";
|
|
1565
|
+
reasoningEffort: "reasoningEffort";
|
|
1566
|
+
reasoningSummary: "reasoningSummary";
|
|
1567
|
+
reasoning_effort: "reasoning_effort";
|
|
1568
|
+
"reasoning.effort": "reasoning.effort";
|
|
1569
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1570
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1571
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1572
|
+
"thinking.type": "thinking.type";
|
|
1573
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1574
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1575
|
+
"thinking.display": "thinking.display";
|
|
1576
|
+
sendReasoning: "sendReasoning";
|
|
1577
|
+
enable_thinking: "enable_thinking";
|
|
1578
|
+
thinking_budget: "thinking_budget";
|
|
1579
|
+
incremental_output: "incremental_output";
|
|
1580
|
+
disable_reasoning: "disable_reasoning";
|
|
1581
|
+
reasoning_budget: "reasoning_budget";
|
|
1582
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1583
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1584
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1585
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1586
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1587
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1588
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1589
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1590
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1591
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1592
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1593
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1594
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1595
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1596
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1597
|
+
think: "think";
|
|
1598
|
+
}>;
|
|
1599
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1600
|
+
source: z.ZodLiteral<"literal">;
|
|
1601
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1602
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1603
|
+
source: z.ZodLiteral<"effort">;
|
|
1604
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1605
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1606
|
+
}, z.core.$strip>], "source">;
|
|
1607
|
+
}, z.core.$strip>>;
|
|
1608
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1609
|
+
none: "none";
|
|
1610
|
+
minimal: "minimal";
|
|
1611
|
+
low: "low";
|
|
1612
|
+
medium: "medium";
|
|
1613
|
+
high: "high";
|
|
1614
|
+
xhigh: "xhigh";
|
|
1615
|
+
max: "max";
|
|
1616
|
+
ultra: "ultra";
|
|
1617
|
+
auto: "auto";
|
|
1618
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1619
|
+
none: "none";
|
|
1620
|
+
minimal: "minimal";
|
|
1621
|
+
low: "low";
|
|
1622
|
+
medium: "medium";
|
|
1623
|
+
high: "high";
|
|
1624
|
+
xhigh: "xhigh";
|
|
1625
|
+
max: "max";
|
|
1626
|
+
ultra: "ultra";
|
|
1627
|
+
auto: "auto";
|
|
1628
|
+
}>>>;
|
|
1629
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1630
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1631
|
+
target: z.ZodEnum<{
|
|
1632
|
+
effort: "effort";
|
|
1633
|
+
reasoningEffort: "reasoningEffort";
|
|
1634
|
+
reasoningSummary: "reasoningSummary";
|
|
1635
|
+
reasoning_effort: "reasoning_effort";
|
|
1636
|
+
"reasoning.effort": "reasoning.effort";
|
|
1637
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1638
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1639
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1640
|
+
"thinking.type": "thinking.type";
|
|
1641
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1642
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1643
|
+
"thinking.display": "thinking.display";
|
|
1644
|
+
sendReasoning: "sendReasoning";
|
|
1645
|
+
enable_thinking: "enable_thinking";
|
|
1646
|
+
thinking_budget: "thinking_budget";
|
|
1647
|
+
incremental_output: "incremental_output";
|
|
1648
|
+
disable_reasoning: "disable_reasoning";
|
|
1649
|
+
reasoning_budget: "reasoning_budget";
|
|
1650
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1651
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1652
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1653
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1654
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1655
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1656
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1657
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1658
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1659
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1660
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1661
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1662
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1663
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1664
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1665
|
+
think: "think";
|
|
1666
|
+
}>;
|
|
1667
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1668
|
+
source: z.ZodLiteral<"literal">;
|
|
1669
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1670
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1671
|
+
source: z.ZodLiteral<"effort">;
|
|
1672
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1673
|
+
source: z.ZodLiteral<"budget">;
|
|
1674
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1675
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1676
|
+
}, z.core.$strip>], "source">;
|
|
1677
|
+
}, z.core.$strip>>;
|
|
1678
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1679
|
+
none: "none";
|
|
1680
|
+
minimal: "minimal";
|
|
1681
|
+
low: "low";
|
|
1682
|
+
medium: "medium";
|
|
1683
|
+
high: "high";
|
|
1684
|
+
xhigh: "xhigh";
|
|
1685
|
+
max: "max";
|
|
1686
|
+
ultra: "ultra";
|
|
1687
|
+
auto: "auto";
|
|
1688
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1689
|
+
none: "none";
|
|
1690
|
+
minimal: "minimal";
|
|
1691
|
+
low: "low";
|
|
1692
|
+
medium: "medium";
|
|
1693
|
+
high: "high";
|
|
1694
|
+
xhigh: "xhigh";
|
|
1695
|
+
max: "max";
|
|
1696
|
+
ultra: "ultra";
|
|
1697
|
+
auto: "auto";
|
|
1698
|
+
}>>>;
|
|
1699
|
+
budget: z.ZodObject<{
|
|
1700
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1701
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
1702
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
1703
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1704
|
+
type: z.ZodLiteral<"omit-value">;
|
|
1705
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1706
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
1707
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1708
|
+
type: z.ZodLiteral<"fallback">;
|
|
1709
|
+
value: z.ZodNumber;
|
|
1710
|
+
}, z.core.$strip>], "type">;
|
|
1711
|
+
}, z.core.$strip>;
|
|
1712
|
+
}, z.core.$strip>]>>;
|
|
1713
|
+
}, z.core.$strip>;
|
|
1714
|
+
budgetWire: z.ZodOptional<z.ZodObject<{
|
|
1715
|
+
disabled: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1716
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1717
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1718
|
+
target: z.ZodEnum<{
|
|
1719
|
+
effort: "effort";
|
|
1720
|
+
reasoningEffort: "reasoningEffort";
|
|
1721
|
+
reasoningSummary: "reasoningSummary";
|
|
1722
|
+
reasoning_effort: "reasoning_effort";
|
|
1723
|
+
"reasoning.effort": "reasoning.effort";
|
|
1724
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1725
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1726
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1727
|
+
"thinking.type": "thinking.type";
|
|
1728
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1729
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1730
|
+
"thinking.display": "thinking.display";
|
|
1731
|
+
sendReasoning: "sendReasoning";
|
|
1732
|
+
enable_thinking: "enable_thinking";
|
|
1733
|
+
thinking_budget: "thinking_budget";
|
|
1734
|
+
incremental_output: "incremental_output";
|
|
1735
|
+
disable_reasoning: "disable_reasoning";
|
|
1736
|
+
reasoning_budget: "reasoning_budget";
|
|
1737
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1738
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1739
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1740
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1741
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1742
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1743
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1744
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1745
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1746
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1747
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1748
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1749
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1750
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1751
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1752
|
+
think: "think";
|
|
1753
|
+
}>;
|
|
1754
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1755
|
+
source: z.ZodLiteral<"literal">;
|
|
1756
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1757
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1758
|
+
source: z.ZodLiteral<"effort">;
|
|
1759
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1760
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1761
|
+
}, z.core.$strip>], "source">;
|
|
1762
|
+
}, z.core.$strip>>;
|
|
1763
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1764
|
+
none: "none";
|
|
1765
|
+
minimal: "minimal";
|
|
1766
|
+
low: "low";
|
|
1767
|
+
medium: "medium";
|
|
1768
|
+
high: "high";
|
|
1769
|
+
xhigh: "xhigh";
|
|
1770
|
+
max: "max";
|
|
1771
|
+
ultra: "ultra";
|
|
1772
|
+
auto: "auto";
|
|
1773
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1774
|
+
none: "none";
|
|
1775
|
+
minimal: "minimal";
|
|
1776
|
+
low: "low";
|
|
1777
|
+
medium: "medium";
|
|
1778
|
+
high: "high";
|
|
1779
|
+
xhigh: "xhigh";
|
|
1780
|
+
max: "max";
|
|
1781
|
+
ultra: "ultra";
|
|
1782
|
+
auto: "auto";
|
|
1783
|
+
}>>>;
|
|
1784
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1785
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1786
|
+
target: z.ZodEnum<{
|
|
1787
|
+
effort: "effort";
|
|
1788
|
+
reasoningEffort: "reasoningEffort";
|
|
1789
|
+
reasoningSummary: "reasoningSummary";
|
|
1790
|
+
reasoning_effort: "reasoning_effort";
|
|
1791
|
+
"reasoning.effort": "reasoning.effort";
|
|
1792
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1793
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1794
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1795
|
+
"thinking.type": "thinking.type";
|
|
1796
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1797
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1798
|
+
"thinking.display": "thinking.display";
|
|
1799
|
+
sendReasoning: "sendReasoning";
|
|
1800
|
+
enable_thinking: "enable_thinking";
|
|
1801
|
+
thinking_budget: "thinking_budget";
|
|
1802
|
+
incremental_output: "incremental_output";
|
|
1803
|
+
disable_reasoning: "disable_reasoning";
|
|
1804
|
+
reasoning_budget: "reasoning_budget";
|
|
1805
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1806
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1807
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1808
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1809
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1810
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1811
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1812
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1813
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1814
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1815
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1816
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1817
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1818
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1819
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1820
|
+
think: "think";
|
|
1821
|
+
}>;
|
|
1822
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1823
|
+
source: z.ZodLiteral<"literal">;
|
|
1824
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1825
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1826
|
+
source: z.ZodLiteral<"effort">;
|
|
1827
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1828
|
+
source: z.ZodLiteral<"budget">;
|
|
1829
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1830
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1831
|
+
}, z.core.$strip>], "source">;
|
|
1832
|
+
}, z.core.$strip>>;
|
|
1833
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1834
|
+
none: "none";
|
|
1835
|
+
minimal: "minimal";
|
|
1836
|
+
low: "low";
|
|
1837
|
+
medium: "medium";
|
|
1838
|
+
high: "high";
|
|
1839
|
+
xhigh: "xhigh";
|
|
1840
|
+
max: "max";
|
|
1841
|
+
ultra: "ultra";
|
|
1842
|
+
auto: "auto";
|
|
1843
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1844
|
+
none: "none";
|
|
1845
|
+
minimal: "minimal";
|
|
1846
|
+
low: "low";
|
|
1847
|
+
medium: "medium";
|
|
1848
|
+
high: "high";
|
|
1849
|
+
xhigh: "xhigh";
|
|
1850
|
+
max: "max";
|
|
1851
|
+
ultra: "ultra";
|
|
1852
|
+
auto: "auto";
|
|
1853
|
+
}>>>;
|
|
1854
|
+
budget: z.ZodObject<{
|
|
1855
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1856
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
1857
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
1858
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1859
|
+
type: z.ZodLiteral<"omit-value">;
|
|
1860
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1861
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
1862
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1863
|
+
type: z.ZodLiteral<"fallback">;
|
|
1864
|
+
value: z.ZodNumber;
|
|
1865
|
+
}, z.core.$strip>], "type">;
|
|
1866
|
+
}, z.core.$strip>;
|
|
1867
|
+
}, z.core.$strip>]>>;
|
|
1868
|
+
off: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1869
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1870
|
+
target: z.ZodEnum<{
|
|
1871
|
+
effort: "effort";
|
|
1872
|
+
reasoningEffort: "reasoningEffort";
|
|
1873
|
+
reasoningSummary: "reasoningSummary";
|
|
1874
|
+
reasoning_effort: "reasoning_effort";
|
|
1875
|
+
"reasoning.effort": "reasoning.effort";
|
|
1876
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1877
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1878
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1879
|
+
"thinking.type": "thinking.type";
|
|
1880
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1881
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1882
|
+
"thinking.display": "thinking.display";
|
|
1883
|
+
sendReasoning: "sendReasoning";
|
|
1884
|
+
enable_thinking: "enable_thinking";
|
|
1885
|
+
thinking_budget: "thinking_budget";
|
|
1886
|
+
incremental_output: "incremental_output";
|
|
1887
|
+
disable_reasoning: "disable_reasoning";
|
|
1888
|
+
reasoning_budget: "reasoning_budget";
|
|
1889
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1890
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1891
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1892
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1893
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1894
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1895
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1896
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1897
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1898
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1899
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1900
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1901
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1902
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1903
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1904
|
+
think: "think";
|
|
1905
|
+
}>;
|
|
1906
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1907
|
+
source: z.ZodLiteral<"literal">;
|
|
1908
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1909
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1910
|
+
source: z.ZodLiteral<"effort">;
|
|
1911
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1912
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1913
|
+
}, z.core.$strip>], "source">;
|
|
1914
|
+
}, z.core.$strip>>;
|
|
1915
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1916
|
+
none: "none";
|
|
1917
|
+
minimal: "minimal";
|
|
1918
|
+
low: "low";
|
|
1919
|
+
medium: "medium";
|
|
1920
|
+
high: "high";
|
|
1921
|
+
xhigh: "xhigh";
|
|
1922
|
+
max: "max";
|
|
1923
|
+
ultra: "ultra";
|
|
1924
|
+
auto: "auto";
|
|
1925
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1926
|
+
none: "none";
|
|
1927
|
+
minimal: "minimal";
|
|
1928
|
+
low: "low";
|
|
1929
|
+
medium: "medium";
|
|
1930
|
+
high: "high";
|
|
1931
|
+
xhigh: "xhigh";
|
|
1932
|
+
max: "max";
|
|
1933
|
+
ultra: "ultra";
|
|
1934
|
+
auto: "auto";
|
|
1935
|
+
}>>>;
|
|
1936
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1937
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1938
|
+
target: z.ZodEnum<{
|
|
1939
|
+
effort: "effort";
|
|
1940
|
+
reasoningEffort: "reasoningEffort";
|
|
1941
|
+
reasoningSummary: "reasoningSummary";
|
|
1942
|
+
reasoning_effort: "reasoning_effort";
|
|
1943
|
+
"reasoning.effort": "reasoning.effort";
|
|
1944
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
1945
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
1946
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
1947
|
+
"thinking.type": "thinking.type";
|
|
1948
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
1949
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
1950
|
+
"thinking.display": "thinking.display";
|
|
1951
|
+
sendReasoning: "sendReasoning";
|
|
1952
|
+
enable_thinking: "enable_thinking";
|
|
1953
|
+
thinking_budget: "thinking_budget";
|
|
1954
|
+
incremental_output: "incremental_output";
|
|
1955
|
+
disable_reasoning: "disable_reasoning";
|
|
1956
|
+
reasoning_budget: "reasoning_budget";
|
|
1957
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
1958
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
1959
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
1960
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
1961
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
1962
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
1963
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
1964
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
1965
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
1966
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
1967
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
1968
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
1969
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
1970
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
1971
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
1972
|
+
think: "think";
|
|
1973
|
+
}>;
|
|
1974
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1975
|
+
source: z.ZodLiteral<"literal">;
|
|
1976
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1977
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1978
|
+
source: z.ZodLiteral<"effort">;
|
|
1979
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1980
|
+
source: z.ZodLiteral<"budget">;
|
|
1981
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1982
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
1983
|
+
}, z.core.$strip>], "source">;
|
|
1984
|
+
}, z.core.$strip>>;
|
|
1985
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1986
|
+
none: "none";
|
|
1987
|
+
minimal: "minimal";
|
|
1988
|
+
low: "low";
|
|
1989
|
+
medium: "medium";
|
|
1990
|
+
high: "high";
|
|
1991
|
+
xhigh: "xhigh";
|
|
1992
|
+
max: "max";
|
|
1993
|
+
ultra: "ultra";
|
|
1994
|
+
auto: "auto";
|
|
1995
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
1996
|
+
none: "none";
|
|
1997
|
+
minimal: "minimal";
|
|
1998
|
+
low: "low";
|
|
1999
|
+
medium: "medium";
|
|
2000
|
+
high: "high";
|
|
2001
|
+
xhigh: "xhigh";
|
|
2002
|
+
max: "max";
|
|
2003
|
+
ultra: "ultra";
|
|
2004
|
+
auto: "auto";
|
|
2005
|
+
}>>>;
|
|
2006
|
+
budget: z.ZodObject<{
|
|
2007
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2008
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
2009
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2010
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2011
|
+
type: z.ZodLiteral<"omit-value">;
|
|
2012
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2013
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
2014
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2015
|
+
type: z.ZodLiteral<"fallback">;
|
|
2016
|
+
value: z.ZodNumber;
|
|
2017
|
+
}, z.core.$strip>], "type">;
|
|
2018
|
+
}, z.core.$strip>;
|
|
2019
|
+
}, z.core.$strip>]>>;
|
|
2020
|
+
auto: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2021
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2022
|
+
target: z.ZodEnum<{
|
|
2023
|
+
effort: "effort";
|
|
2024
|
+
reasoningEffort: "reasoningEffort";
|
|
2025
|
+
reasoningSummary: "reasoningSummary";
|
|
2026
|
+
reasoning_effort: "reasoning_effort";
|
|
2027
|
+
"reasoning.effort": "reasoning.effort";
|
|
2028
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2029
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2030
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2031
|
+
"thinking.type": "thinking.type";
|
|
2032
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2033
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2034
|
+
"thinking.display": "thinking.display";
|
|
2035
|
+
sendReasoning: "sendReasoning";
|
|
2036
|
+
enable_thinking: "enable_thinking";
|
|
2037
|
+
thinking_budget: "thinking_budget";
|
|
2038
|
+
incremental_output: "incremental_output";
|
|
2039
|
+
disable_reasoning: "disable_reasoning";
|
|
2040
|
+
reasoning_budget: "reasoning_budget";
|
|
2041
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2042
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2043
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2044
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2045
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2046
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2047
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2048
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2049
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2050
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2051
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2052
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2053
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2054
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2055
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2056
|
+
think: "think";
|
|
2057
|
+
}>;
|
|
2058
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2059
|
+
source: z.ZodLiteral<"literal">;
|
|
2060
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2061
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2062
|
+
source: z.ZodLiteral<"effort">;
|
|
2063
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2064
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2065
|
+
}, z.core.$strip>], "source">;
|
|
2066
|
+
}, z.core.$strip>>;
|
|
2067
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2068
|
+
none: "none";
|
|
2069
|
+
minimal: "minimal";
|
|
2070
|
+
low: "low";
|
|
2071
|
+
medium: "medium";
|
|
2072
|
+
high: "high";
|
|
2073
|
+
xhigh: "xhigh";
|
|
2074
|
+
max: "max";
|
|
2075
|
+
ultra: "ultra";
|
|
2076
|
+
auto: "auto";
|
|
2077
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2078
|
+
none: "none";
|
|
2079
|
+
minimal: "minimal";
|
|
2080
|
+
low: "low";
|
|
2081
|
+
medium: "medium";
|
|
2082
|
+
high: "high";
|
|
2083
|
+
xhigh: "xhigh";
|
|
2084
|
+
max: "max";
|
|
2085
|
+
ultra: "ultra";
|
|
2086
|
+
auto: "auto";
|
|
2087
|
+
}>>>;
|
|
2088
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2089
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2090
|
+
target: z.ZodEnum<{
|
|
2091
|
+
effort: "effort";
|
|
2092
|
+
reasoningEffort: "reasoningEffort";
|
|
2093
|
+
reasoningSummary: "reasoningSummary";
|
|
2094
|
+
reasoning_effort: "reasoning_effort";
|
|
2095
|
+
"reasoning.effort": "reasoning.effort";
|
|
2096
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2097
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2098
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2099
|
+
"thinking.type": "thinking.type";
|
|
2100
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2101
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2102
|
+
"thinking.display": "thinking.display";
|
|
2103
|
+
sendReasoning: "sendReasoning";
|
|
2104
|
+
enable_thinking: "enable_thinking";
|
|
2105
|
+
thinking_budget: "thinking_budget";
|
|
2106
|
+
incremental_output: "incremental_output";
|
|
2107
|
+
disable_reasoning: "disable_reasoning";
|
|
2108
|
+
reasoning_budget: "reasoning_budget";
|
|
2109
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2110
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2111
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2112
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2113
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2114
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2115
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2116
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2117
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2118
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2119
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2120
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2121
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2122
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2123
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2124
|
+
think: "think";
|
|
2125
|
+
}>;
|
|
2126
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2127
|
+
source: z.ZodLiteral<"literal">;
|
|
2128
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2130
|
+
source: z.ZodLiteral<"effort">;
|
|
2131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2132
|
+
source: z.ZodLiteral<"budget">;
|
|
2133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2134
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2135
|
+
}, z.core.$strip>], "source">;
|
|
2136
|
+
}, z.core.$strip>>;
|
|
2137
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2138
|
+
none: "none";
|
|
2139
|
+
minimal: "minimal";
|
|
2140
|
+
low: "low";
|
|
2141
|
+
medium: "medium";
|
|
2142
|
+
high: "high";
|
|
2143
|
+
xhigh: "xhigh";
|
|
2144
|
+
max: "max";
|
|
2145
|
+
ultra: "ultra";
|
|
2146
|
+
auto: "auto";
|
|
2147
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2148
|
+
none: "none";
|
|
2149
|
+
minimal: "minimal";
|
|
2150
|
+
low: "low";
|
|
2151
|
+
medium: "medium";
|
|
2152
|
+
high: "high";
|
|
2153
|
+
xhigh: "xhigh";
|
|
2154
|
+
max: "max";
|
|
2155
|
+
ultra: "ultra";
|
|
2156
|
+
auto: "auto";
|
|
2157
|
+
}>>>;
|
|
2158
|
+
budget: z.ZodObject<{
|
|
2159
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2160
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
2161
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2162
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2163
|
+
type: z.ZodLiteral<"omit-value">;
|
|
2164
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2165
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
2166
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2167
|
+
type: z.ZodLiteral<"fallback">;
|
|
2168
|
+
value: z.ZodNumber;
|
|
2169
|
+
}, z.core.$strip>], "type">;
|
|
2170
|
+
}, z.core.$strip>;
|
|
2171
|
+
}, z.core.$strip>]>>;
|
|
2172
|
+
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2173
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2174
|
+
target: z.ZodEnum<{
|
|
2175
|
+
effort: "effort";
|
|
2176
|
+
reasoningEffort: "reasoningEffort";
|
|
2177
|
+
reasoningSummary: "reasoningSummary";
|
|
2178
|
+
reasoning_effort: "reasoning_effort";
|
|
2179
|
+
"reasoning.effort": "reasoning.effort";
|
|
2180
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2181
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2182
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2183
|
+
"thinking.type": "thinking.type";
|
|
2184
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2185
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2186
|
+
"thinking.display": "thinking.display";
|
|
2187
|
+
sendReasoning: "sendReasoning";
|
|
2188
|
+
enable_thinking: "enable_thinking";
|
|
2189
|
+
thinking_budget: "thinking_budget";
|
|
2190
|
+
incremental_output: "incremental_output";
|
|
2191
|
+
disable_reasoning: "disable_reasoning";
|
|
2192
|
+
reasoning_budget: "reasoning_budget";
|
|
2193
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2194
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2195
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2196
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2197
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2198
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2199
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2200
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2201
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2202
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2203
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2204
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2205
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2206
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2207
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2208
|
+
think: "think";
|
|
2209
|
+
}>;
|
|
2210
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2211
|
+
source: z.ZodLiteral<"literal">;
|
|
2212
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2213
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2214
|
+
source: z.ZodLiteral<"effort">;
|
|
2215
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2216
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2217
|
+
}, z.core.$strip>], "source">;
|
|
2218
|
+
}, z.core.$strip>>;
|
|
2219
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2220
|
+
none: "none";
|
|
2221
|
+
minimal: "minimal";
|
|
2222
|
+
low: "low";
|
|
2223
|
+
medium: "medium";
|
|
2224
|
+
high: "high";
|
|
2225
|
+
xhigh: "xhigh";
|
|
2226
|
+
max: "max";
|
|
2227
|
+
ultra: "ultra";
|
|
2228
|
+
auto: "auto";
|
|
2229
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2230
|
+
none: "none";
|
|
2231
|
+
minimal: "minimal";
|
|
2232
|
+
low: "low";
|
|
2233
|
+
medium: "medium";
|
|
2234
|
+
high: "high";
|
|
2235
|
+
xhigh: "xhigh";
|
|
2236
|
+
max: "max";
|
|
2237
|
+
ultra: "ultra";
|
|
2238
|
+
auto: "auto";
|
|
2239
|
+
}>>>;
|
|
2240
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2241
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2242
|
+
target: z.ZodEnum<{
|
|
2243
|
+
effort: "effort";
|
|
2244
|
+
reasoningEffort: "reasoningEffort";
|
|
2245
|
+
reasoningSummary: "reasoningSummary";
|
|
2246
|
+
reasoning_effort: "reasoning_effort";
|
|
2247
|
+
"reasoning.effort": "reasoning.effort";
|
|
2248
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2249
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2250
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2251
|
+
"thinking.type": "thinking.type";
|
|
2252
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2253
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2254
|
+
"thinking.display": "thinking.display";
|
|
2255
|
+
sendReasoning: "sendReasoning";
|
|
2256
|
+
enable_thinking: "enable_thinking";
|
|
2257
|
+
thinking_budget: "thinking_budget";
|
|
2258
|
+
incremental_output: "incremental_output";
|
|
2259
|
+
disable_reasoning: "disable_reasoning";
|
|
2260
|
+
reasoning_budget: "reasoning_budget";
|
|
2261
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2262
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2263
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2264
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2265
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2266
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2267
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2268
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2269
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2270
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2271
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2272
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2273
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2274
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2275
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2276
|
+
think: "think";
|
|
2277
|
+
}>;
|
|
2278
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2279
|
+
source: z.ZodLiteral<"literal">;
|
|
2280
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2281
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2282
|
+
source: z.ZodLiteral<"effort">;
|
|
2283
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2284
|
+
source: z.ZodLiteral<"budget">;
|
|
2285
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2286
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2287
|
+
}, z.core.$strip>], "source">;
|
|
2288
|
+
}, z.core.$strip>>;
|
|
2289
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2290
|
+
none: "none";
|
|
2291
|
+
minimal: "minimal";
|
|
2292
|
+
low: "low";
|
|
2293
|
+
medium: "medium";
|
|
2294
|
+
high: "high";
|
|
2295
|
+
xhigh: "xhigh";
|
|
2296
|
+
max: "max";
|
|
2297
|
+
ultra: "ultra";
|
|
2298
|
+
auto: "auto";
|
|
2299
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2300
|
+
none: "none";
|
|
2301
|
+
minimal: "minimal";
|
|
2302
|
+
low: "low";
|
|
2303
|
+
medium: "medium";
|
|
2304
|
+
high: "high";
|
|
2305
|
+
xhigh: "xhigh";
|
|
2306
|
+
max: "max";
|
|
2307
|
+
ultra: "ultra";
|
|
2308
|
+
auto: "auto";
|
|
2309
|
+
}>>>;
|
|
2310
|
+
budget: z.ZodObject<{
|
|
2311
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2312
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
2313
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2314
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2315
|
+
type: z.ZodLiteral<"omit-value">;
|
|
2316
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2317
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
2318
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2319
|
+
type: z.ZodLiteral<"fallback">;
|
|
2320
|
+
value: z.ZodNumber;
|
|
2321
|
+
}, z.core.$strip>], "type">;
|
|
2322
|
+
}, z.core.$strip>;
|
|
2323
|
+
}, z.core.$strip>]>>;
|
|
2324
|
+
}, z.core.$strip>>;
|
|
2325
|
+
alwaysOnWire: z.ZodOptional<z.ZodObject<{
|
|
2326
|
+
disabled: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2327
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2328
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2329
|
+
target: z.ZodEnum<{
|
|
2330
|
+
effort: "effort";
|
|
2331
|
+
reasoningEffort: "reasoningEffort";
|
|
2332
|
+
reasoningSummary: "reasoningSummary";
|
|
2333
|
+
reasoning_effort: "reasoning_effort";
|
|
2334
|
+
"reasoning.effort": "reasoning.effort";
|
|
2335
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2336
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2337
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2338
|
+
"thinking.type": "thinking.type";
|
|
2339
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2340
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2341
|
+
"thinking.display": "thinking.display";
|
|
2342
|
+
sendReasoning: "sendReasoning";
|
|
2343
|
+
enable_thinking: "enable_thinking";
|
|
2344
|
+
thinking_budget: "thinking_budget";
|
|
2345
|
+
incremental_output: "incremental_output";
|
|
2346
|
+
disable_reasoning: "disable_reasoning";
|
|
2347
|
+
reasoning_budget: "reasoning_budget";
|
|
2348
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2349
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2350
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2351
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2352
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2353
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2354
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2355
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2356
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2357
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2358
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2359
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2360
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2361
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2362
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2363
|
+
think: "think";
|
|
2364
|
+
}>;
|
|
2365
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2366
|
+
source: z.ZodLiteral<"literal">;
|
|
2367
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2368
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2369
|
+
source: z.ZodLiteral<"effort">;
|
|
2370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2371
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2372
|
+
}, z.core.$strip>], "source">;
|
|
2373
|
+
}, z.core.$strip>>;
|
|
2374
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2375
|
+
none: "none";
|
|
2376
|
+
minimal: "minimal";
|
|
2377
|
+
low: "low";
|
|
2378
|
+
medium: "medium";
|
|
2379
|
+
high: "high";
|
|
2380
|
+
xhigh: "xhigh";
|
|
2381
|
+
max: "max";
|
|
2382
|
+
ultra: "ultra";
|
|
2383
|
+
auto: "auto";
|
|
2384
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2385
|
+
none: "none";
|
|
2386
|
+
minimal: "minimal";
|
|
2387
|
+
low: "low";
|
|
2388
|
+
medium: "medium";
|
|
2389
|
+
high: "high";
|
|
2390
|
+
xhigh: "xhigh";
|
|
2391
|
+
max: "max";
|
|
2392
|
+
ultra: "ultra";
|
|
2393
|
+
auto: "auto";
|
|
2394
|
+
}>>>;
|
|
2395
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2396
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2397
|
+
target: z.ZodEnum<{
|
|
2398
|
+
effort: "effort";
|
|
2399
|
+
reasoningEffort: "reasoningEffort";
|
|
2400
|
+
reasoningSummary: "reasoningSummary";
|
|
2401
|
+
reasoning_effort: "reasoning_effort";
|
|
2402
|
+
"reasoning.effort": "reasoning.effort";
|
|
2403
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2404
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2405
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2406
|
+
"thinking.type": "thinking.type";
|
|
2407
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2408
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2409
|
+
"thinking.display": "thinking.display";
|
|
2410
|
+
sendReasoning: "sendReasoning";
|
|
2411
|
+
enable_thinking: "enable_thinking";
|
|
2412
|
+
thinking_budget: "thinking_budget";
|
|
2413
|
+
incremental_output: "incremental_output";
|
|
2414
|
+
disable_reasoning: "disable_reasoning";
|
|
2415
|
+
reasoning_budget: "reasoning_budget";
|
|
2416
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2417
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2418
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2419
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2420
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2421
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2422
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2423
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2424
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2425
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2426
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2427
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2428
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2429
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2430
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2431
|
+
think: "think";
|
|
2432
|
+
}>;
|
|
2433
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2434
|
+
source: z.ZodLiteral<"literal">;
|
|
2435
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2437
|
+
source: z.ZodLiteral<"effort">;
|
|
2438
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2439
|
+
source: z.ZodLiteral<"budget">;
|
|
2440
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2441
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2442
|
+
}, z.core.$strip>], "source">;
|
|
2443
|
+
}, z.core.$strip>>;
|
|
2444
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2445
|
+
none: "none";
|
|
2446
|
+
minimal: "minimal";
|
|
2447
|
+
low: "low";
|
|
2448
|
+
medium: "medium";
|
|
2449
|
+
high: "high";
|
|
2450
|
+
xhigh: "xhigh";
|
|
2451
|
+
max: "max";
|
|
2452
|
+
ultra: "ultra";
|
|
2453
|
+
auto: "auto";
|
|
2454
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2455
|
+
none: "none";
|
|
2456
|
+
minimal: "minimal";
|
|
2457
|
+
low: "low";
|
|
2458
|
+
medium: "medium";
|
|
2459
|
+
high: "high";
|
|
2460
|
+
xhigh: "xhigh";
|
|
2461
|
+
max: "max";
|
|
2462
|
+
ultra: "ultra";
|
|
2463
|
+
auto: "auto";
|
|
2464
|
+
}>>>;
|
|
2465
|
+
budget: z.ZodObject<{
|
|
2466
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2467
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
2468
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2469
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2470
|
+
type: z.ZodLiteral<"omit-value">;
|
|
2471
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2472
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
2473
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2474
|
+
type: z.ZodLiteral<"fallback">;
|
|
2475
|
+
value: z.ZodNumber;
|
|
2476
|
+
}, z.core.$strip>], "type">;
|
|
2477
|
+
}, z.core.$strip>;
|
|
2478
|
+
}, z.core.$strip>]>>;
|
|
2479
|
+
off: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2480
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2481
|
+
target: z.ZodEnum<{
|
|
2482
|
+
effort: "effort";
|
|
2483
|
+
reasoningEffort: "reasoningEffort";
|
|
2484
|
+
reasoningSummary: "reasoningSummary";
|
|
2485
|
+
reasoning_effort: "reasoning_effort";
|
|
2486
|
+
"reasoning.effort": "reasoning.effort";
|
|
2487
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2488
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2489
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2490
|
+
"thinking.type": "thinking.type";
|
|
2491
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2492
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2493
|
+
"thinking.display": "thinking.display";
|
|
2494
|
+
sendReasoning: "sendReasoning";
|
|
2495
|
+
enable_thinking: "enable_thinking";
|
|
2496
|
+
thinking_budget: "thinking_budget";
|
|
2497
|
+
incremental_output: "incremental_output";
|
|
2498
|
+
disable_reasoning: "disable_reasoning";
|
|
2499
|
+
reasoning_budget: "reasoning_budget";
|
|
2500
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2501
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2502
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2503
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2504
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2505
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2506
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2507
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2508
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2509
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2510
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2511
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2512
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2513
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2514
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2515
|
+
think: "think";
|
|
2516
|
+
}>;
|
|
2517
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2518
|
+
source: z.ZodLiteral<"literal">;
|
|
2519
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2520
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2521
|
+
source: z.ZodLiteral<"effort">;
|
|
2522
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2523
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2524
|
+
}, z.core.$strip>], "source">;
|
|
2525
|
+
}, z.core.$strip>>;
|
|
2526
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2527
|
+
none: "none";
|
|
2528
|
+
minimal: "minimal";
|
|
2529
|
+
low: "low";
|
|
2530
|
+
medium: "medium";
|
|
2531
|
+
high: "high";
|
|
2532
|
+
xhigh: "xhigh";
|
|
2533
|
+
max: "max";
|
|
2534
|
+
ultra: "ultra";
|
|
2535
|
+
auto: "auto";
|
|
2536
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2537
|
+
none: "none";
|
|
2538
|
+
minimal: "minimal";
|
|
2539
|
+
low: "low";
|
|
2540
|
+
medium: "medium";
|
|
2541
|
+
high: "high";
|
|
2542
|
+
xhigh: "xhigh";
|
|
2543
|
+
max: "max";
|
|
2544
|
+
ultra: "ultra";
|
|
2545
|
+
auto: "auto";
|
|
2546
|
+
}>>>;
|
|
2547
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2548
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2549
|
+
target: z.ZodEnum<{
|
|
2550
|
+
effort: "effort";
|
|
2551
|
+
reasoningEffort: "reasoningEffort";
|
|
2552
|
+
reasoningSummary: "reasoningSummary";
|
|
2553
|
+
reasoning_effort: "reasoning_effort";
|
|
2554
|
+
"reasoning.effort": "reasoning.effort";
|
|
2555
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2556
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2557
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2558
|
+
"thinking.type": "thinking.type";
|
|
2559
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2560
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2561
|
+
"thinking.display": "thinking.display";
|
|
2562
|
+
sendReasoning: "sendReasoning";
|
|
2563
|
+
enable_thinking: "enable_thinking";
|
|
2564
|
+
thinking_budget: "thinking_budget";
|
|
2565
|
+
incremental_output: "incremental_output";
|
|
2566
|
+
disable_reasoning: "disable_reasoning";
|
|
2567
|
+
reasoning_budget: "reasoning_budget";
|
|
2568
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2569
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2570
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2571
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2572
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2573
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2574
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2575
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2576
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2577
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2578
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2579
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2580
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2581
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2582
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2583
|
+
think: "think";
|
|
2584
|
+
}>;
|
|
2585
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2586
|
+
source: z.ZodLiteral<"literal">;
|
|
2587
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2588
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2589
|
+
source: z.ZodLiteral<"effort">;
|
|
2590
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2591
|
+
source: z.ZodLiteral<"budget">;
|
|
2592
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2593
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2594
|
+
}, z.core.$strip>], "source">;
|
|
2595
|
+
}, z.core.$strip>>;
|
|
2596
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2597
|
+
none: "none";
|
|
2598
|
+
minimal: "minimal";
|
|
2599
|
+
low: "low";
|
|
2600
|
+
medium: "medium";
|
|
2601
|
+
high: "high";
|
|
2602
|
+
xhigh: "xhigh";
|
|
2603
|
+
max: "max";
|
|
2604
|
+
ultra: "ultra";
|
|
2605
|
+
auto: "auto";
|
|
2606
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2607
|
+
none: "none";
|
|
2608
|
+
minimal: "minimal";
|
|
2609
|
+
low: "low";
|
|
2610
|
+
medium: "medium";
|
|
2611
|
+
high: "high";
|
|
2612
|
+
xhigh: "xhigh";
|
|
2613
|
+
max: "max";
|
|
2614
|
+
ultra: "ultra";
|
|
2615
|
+
auto: "auto";
|
|
2616
|
+
}>>>;
|
|
2617
|
+
budget: z.ZodObject<{
|
|
2618
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2619
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
2620
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2621
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2622
|
+
type: z.ZodLiteral<"omit-value">;
|
|
2623
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2624
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
2625
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2626
|
+
type: z.ZodLiteral<"fallback">;
|
|
2627
|
+
value: z.ZodNumber;
|
|
2628
|
+
}, z.core.$strip>], "type">;
|
|
2629
|
+
}, z.core.$strip>;
|
|
2630
|
+
}, z.core.$strip>]>>;
|
|
2631
|
+
auto: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2632
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2633
|
+
target: z.ZodEnum<{
|
|
2634
|
+
effort: "effort";
|
|
2635
|
+
reasoningEffort: "reasoningEffort";
|
|
2636
|
+
reasoningSummary: "reasoningSummary";
|
|
2637
|
+
reasoning_effort: "reasoning_effort";
|
|
2638
|
+
"reasoning.effort": "reasoning.effort";
|
|
2639
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2640
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2641
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2642
|
+
"thinking.type": "thinking.type";
|
|
2643
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2644
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2645
|
+
"thinking.display": "thinking.display";
|
|
2646
|
+
sendReasoning: "sendReasoning";
|
|
2647
|
+
enable_thinking: "enable_thinking";
|
|
2648
|
+
thinking_budget: "thinking_budget";
|
|
2649
|
+
incremental_output: "incremental_output";
|
|
2650
|
+
disable_reasoning: "disable_reasoning";
|
|
2651
|
+
reasoning_budget: "reasoning_budget";
|
|
2652
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2653
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2654
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2655
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2656
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2657
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2658
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2659
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2660
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2661
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2662
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2663
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2664
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2665
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2666
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2667
|
+
think: "think";
|
|
2668
|
+
}>;
|
|
2669
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2670
|
+
source: z.ZodLiteral<"literal">;
|
|
2671
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2672
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2673
|
+
source: z.ZodLiteral<"effort">;
|
|
2674
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2675
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2676
|
+
}, z.core.$strip>], "source">;
|
|
2677
|
+
}, z.core.$strip>>;
|
|
2678
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2679
|
+
none: "none";
|
|
2680
|
+
minimal: "minimal";
|
|
2681
|
+
low: "low";
|
|
2682
|
+
medium: "medium";
|
|
2683
|
+
high: "high";
|
|
2684
|
+
xhigh: "xhigh";
|
|
2685
|
+
max: "max";
|
|
2686
|
+
ultra: "ultra";
|
|
2687
|
+
auto: "auto";
|
|
2688
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2689
|
+
none: "none";
|
|
2690
|
+
minimal: "minimal";
|
|
2691
|
+
low: "low";
|
|
2692
|
+
medium: "medium";
|
|
2693
|
+
high: "high";
|
|
2694
|
+
xhigh: "xhigh";
|
|
2695
|
+
max: "max";
|
|
2696
|
+
ultra: "ultra";
|
|
2697
|
+
auto: "auto";
|
|
2698
|
+
}>>>;
|
|
2699
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2700
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2701
|
+
target: z.ZodEnum<{
|
|
2702
|
+
effort: "effort";
|
|
2703
|
+
reasoningEffort: "reasoningEffort";
|
|
2704
|
+
reasoningSummary: "reasoningSummary";
|
|
2705
|
+
reasoning_effort: "reasoning_effort";
|
|
2706
|
+
"reasoning.effort": "reasoning.effort";
|
|
2707
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2708
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2709
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2710
|
+
"thinking.type": "thinking.type";
|
|
2711
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2712
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2713
|
+
"thinking.display": "thinking.display";
|
|
2714
|
+
sendReasoning: "sendReasoning";
|
|
2715
|
+
enable_thinking: "enable_thinking";
|
|
2716
|
+
thinking_budget: "thinking_budget";
|
|
2717
|
+
incremental_output: "incremental_output";
|
|
2718
|
+
disable_reasoning: "disable_reasoning";
|
|
2719
|
+
reasoning_budget: "reasoning_budget";
|
|
2720
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2721
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2722
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2723
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2724
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2725
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2726
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2727
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2728
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2729
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2730
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2731
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2732
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2733
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2734
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2735
|
+
think: "think";
|
|
2736
|
+
}>;
|
|
2737
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2738
|
+
source: z.ZodLiteral<"literal">;
|
|
2739
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2740
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2741
|
+
source: z.ZodLiteral<"effort">;
|
|
2742
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2743
|
+
source: z.ZodLiteral<"budget">;
|
|
2744
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2745
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2746
|
+
}, z.core.$strip>], "source">;
|
|
2747
|
+
}, z.core.$strip>>;
|
|
2748
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2749
|
+
none: "none";
|
|
2750
|
+
minimal: "minimal";
|
|
2751
|
+
low: "low";
|
|
2752
|
+
medium: "medium";
|
|
2753
|
+
high: "high";
|
|
2754
|
+
xhigh: "xhigh";
|
|
2755
|
+
max: "max";
|
|
2756
|
+
ultra: "ultra";
|
|
2757
|
+
auto: "auto";
|
|
2758
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2759
|
+
none: "none";
|
|
2760
|
+
minimal: "minimal";
|
|
2761
|
+
low: "low";
|
|
2762
|
+
medium: "medium";
|
|
2763
|
+
high: "high";
|
|
2764
|
+
xhigh: "xhigh";
|
|
2765
|
+
max: "max";
|
|
2766
|
+
ultra: "ultra";
|
|
2767
|
+
auto: "auto";
|
|
2768
|
+
}>>>;
|
|
2769
|
+
budget: z.ZodObject<{
|
|
2770
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2771
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
2772
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2773
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2774
|
+
type: z.ZodLiteral<"omit-value">;
|
|
2775
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2776
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
2777
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2778
|
+
type: z.ZodLiteral<"fallback">;
|
|
2779
|
+
value: z.ZodNumber;
|
|
2780
|
+
}, z.core.$strip>], "type">;
|
|
2781
|
+
}, z.core.$strip>;
|
|
2782
|
+
}, z.core.$strip>]>>;
|
|
2783
|
+
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2784
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2785
|
+
target: z.ZodEnum<{
|
|
2786
|
+
effort: "effort";
|
|
2787
|
+
reasoningEffort: "reasoningEffort";
|
|
2788
|
+
reasoningSummary: "reasoningSummary";
|
|
2789
|
+
reasoning_effort: "reasoning_effort";
|
|
2790
|
+
"reasoning.effort": "reasoning.effort";
|
|
2791
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2792
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2793
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2794
|
+
"thinking.type": "thinking.type";
|
|
2795
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2796
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2797
|
+
"thinking.display": "thinking.display";
|
|
2798
|
+
sendReasoning: "sendReasoning";
|
|
2799
|
+
enable_thinking: "enable_thinking";
|
|
2800
|
+
thinking_budget: "thinking_budget";
|
|
2801
|
+
incremental_output: "incremental_output";
|
|
2802
|
+
disable_reasoning: "disable_reasoning";
|
|
2803
|
+
reasoning_budget: "reasoning_budget";
|
|
2804
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2805
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2806
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2807
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2808
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2809
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2810
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2811
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2812
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2813
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2814
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2815
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2816
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2817
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2818
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2819
|
+
think: "think";
|
|
2820
|
+
}>;
|
|
2821
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2822
|
+
source: z.ZodLiteral<"literal">;
|
|
2823
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2824
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2825
|
+
source: z.ZodLiteral<"effort">;
|
|
2826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2827
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2828
|
+
}, z.core.$strip>], "source">;
|
|
2829
|
+
}, z.core.$strip>>;
|
|
2830
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2831
|
+
none: "none";
|
|
2832
|
+
minimal: "minimal";
|
|
2833
|
+
low: "low";
|
|
2834
|
+
medium: "medium";
|
|
2835
|
+
high: "high";
|
|
2836
|
+
xhigh: "xhigh";
|
|
2837
|
+
max: "max";
|
|
2838
|
+
ultra: "ultra";
|
|
2839
|
+
auto: "auto";
|
|
2840
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2841
|
+
none: "none";
|
|
2842
|
+
minimal: "minimal";
|
|
2843
|
+
low: "low";
|
|
2844
|
+
medium: "medium";
|
|
2845
|
+
high: "high";
|
|
2846
|
+
xhigh: "xhigh";
|
|
2847
|
+
max: "max";
|
|
2848
|
+
ultra: "ultra";
|
|
2849
|
+
auto: "auto";
|
|
2850
|
+
}>>>;
|
|
2851
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2852
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2853
|
+
target: z.ZodEnum<{
|
|
2854
|
+
effort: "effort";
|
|
2855
|
+
reasoningEffort: "reasoningEffort";
|
|
2856
|
+
reasoningSummary: "reasoningSummary";
|
|
2857
|
+
reasoning_effort: "reasoning_effort";
|
|
2858
|
+
"reasoning.effort": "reasoning.effort";
|
|
2859
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2860
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2861
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2862
|
+
"thinking.type": "thinking.type";
|
|
2863
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2864
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2865
|
+
"thinking.display": "thinking.display";
|
|
2866
|
+
sendReasoning: "sendReasoning";
|
|
2867
|
+
enable_thinking: "enable_thinking";
|
|
2868
|
+
thinking_budget: "thinking_budget";
|
|
2869
|
+
incremental_output: "incremental_output";
|
|
2870
|
+
disable_reasoning: "disable_reasoning";
|
|
2871
|
+
reasoning_budget: "reasoning_budget";
|
|
2872
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2873
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2874
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2875
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2876
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2877
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2878
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2879
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2880
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2881
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2882
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2883
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2884
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2885
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2886
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2887
|
+
think: "think";
|
|
2888
|
+
}>;
|
|
2889
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2890
|
+
source: z.ZodLiteral<"literal">;
|
|
2891
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2892
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2893
|
+
source: z.ZodLiteral<"effort">;
|
|
2894
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2895
|
+
source: z.ZodLiteral<"budget">;
|
|
2896
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2897
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2898
|
+
}, z.core.$strip>], "source">;
|
|
2899
|
+
}, z.core.$strip>>;
|
|
2900
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2901
|
+
none: "none";
|
|
2902
|
+
minimal: "minimal";
|
|
2903
|
+
low: "low";
|
|
2904
|
+
medium: "medium";
|
|
2905
|
+
high: "high";
|
|
2906
|
+
xhigh: "xhigh";
|
|
2907
|
+
max: "max";
|
|
2908
|
+
ultra: "ultra";
|
|
2909
|
+
auto: "auto";
|
|
2910
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2911
|
+
none: "none";
|
|
2912
|
+
minimal: "minimal";
|
|
2913
|
+
low: "low";
|
|
2914
|
+
medium: "medium";
|
|
2915
|
+
high: "high";
|
|
2916
|
+
xhigh: "xhigh";
|
|
2917
|
+
max: "max";
|
|
2918
|
+
ultra: "ultra";
|
|
2919
|
+
auto: "auto";
|
|
2920
|
+
}>>>;
|
|
2921
|
+
budget: z.ZodObject<{
|
|
2922
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2923
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
2924
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2925
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2926
|
+
type: z.ZodLiteral<"omit-value">;
|
|
2927
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2928
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
2929
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2930
|
+
type: z.ZodLiteral<"fallback">;
|
|
2931
|
+
value: z.ZodNumber;
|
|
2932
|
+
}, z.core.$strip>], "type">;
|
|
2933
|
+
}, z.core.$strip>;
|
|
2934
|
+
}, z.core.$strip>]>>;
|
|
2935
|
+
}, z.core.$strip>>;
|
|
2936
|
+
betweenToolsWire: z.ZodOptional<z.ZodObject<{
|
|
2937
|
+
disabled: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2938
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2939
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2940
|
+
target: z.ZodEnum<{
|
|
2941
|
+
effort: "effort";
|
|
2942
|
+
reasoningEffort: "reasoningEffort";
|
|
2943
|
+
reasoningSummary: "reasoningSummary";
|
|
2944
|
+
reasoning_effort: "reasoning_effort";
|
|
2945
|
+
"reasoning.effort": "reasoning.effort";
|
|
2946
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
2947
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
2948
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
2949
|
+
"thinking.type": "thinking.type";
|
|
2950
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
2951
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
2952
|
+
"thinking.display": "thinking.display";
|
|
2953
|
+
sendReasoning: "sendReasoning";
|
|
2954
|
+
enable_thinking: "enable_thinking";
|
|
2955
|
+
thinking_budget: "thinking_budget";
|
|
2956
|
+
incremental_output: "incremental_output";
|
|
2957
|
+
disable_reasoning: "disable_reasoning";
|
|
2958
|
+
reasoning_budget: "reasoning_budget";
|
|
2959
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
2960
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
2961
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
2962
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
2963
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
2964
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
2965
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
2966
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
2967
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
2968
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
2969
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
2970
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
2971
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
2972
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
2973
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
2974
|
+
think: "think";
|
|
2975
|
+
}>;
|
|
2976
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2977
|
+
source: z.ZodLiteral<"literal">;
|
|
2978
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2979
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2980
|
+
source: z.ZodLiteral<"effort">;
|
|
2981
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2982
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
2983
|
+
}, z.core.$strip>], "source">;
|
|
2984
|
+
}, z.core.$strip>>;
|
|
2985
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2986
|
+
none: "none";
|
|
2987
|
+
minimal: "minimal";
|
|
2988
|
+
low: "low";
|
|
2989
|
+
medium: "medium";
|
|
2990
|
+
high: "high";
|
|
2991
|
+
xhigh: "xhigh";
|
|
2992
|
+
max: "max";
|
|
2993
|
+
ultra: "ultra";
|
|
2994
|
+
auto: "auto";
|
|
2995
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
2996
|
+
none: "none";
|
|
2997
|
+
minimal: "minimal";
|
|
2998
|
+
low: "low";
|
|
2999
|
+
medium: "medium";
|
|
3000
|
+
high: "high";
|
|
3001
|
+
xhigh: "xhigh";
|
|
3002
|
+
max: "max";
|
|
3003
|
+
ultra: "ultra";
|
|
3004
|
+
auto: "auto";
|
|
3005
|
+
}>>>;
|
|
3006
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3007
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
3008
|
+
target: z.ZodEnum<{
|
|
3009
|
+
effort: "effort";
|
|
3010
|
+
reasoningEffort: "reasoningEffort";
|
|
3011
|
+
reasoningSummary: "reasoningSummary";
|
|
3012
|
+
reasoning_effort: "reasoning_effort";
|
|
3013
|
+
"reasoning.effort": "reasoning.effort";
|
|
3014
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
3015
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
3016
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
3017
|
+
"thinking.type": "thinking.type";
|
|
3018
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
3019
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
3020
|
+
"thinking.display": "thinking.display";
|
|
3021
|
+
sendReasoning: "sendReasoning";
|
|
3022
|
+
enable_thinking: "enable_thinking";
|
|
3023
|
+
thinking_budget: "thinking_budget";
|
|
3024
|
+
incremental_output: "incremental_output";
|
|
3025
|
+
disable_reasoning: "disable_reasoning";
|
|
3026
|
+
reasoning_budget: "reasoning_budget";
|
|
3027
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
3028
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
3029
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
3030
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
3031
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
3032
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
3033
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
3034
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
3035
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
3036
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
3037
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
3038
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
3039
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
3040
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
3041
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
3042
|
+
think: "think";
|
|
3043
|
+
}>;
|
|
3044
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3045
|
+
source: z.ZodLiteral<"literal">;
|
|
3046
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3047
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3048
|
+
source: z.ZodLiteral<"effort">;
|
|
3049
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3050
|
+
source: z.ZodLiteral<"budget">;
|
|
3051
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3052
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
3053
|
+
}, z.core.$strip>], "source">;
|
|
3054
|
+
}, z.core.$strip>>;
|
|
3055
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
3056
|
+
none: "none";
|
|
3057
|
+
minimal: "minimal";
|
|
3058
|
+
low: "low";
|
|
3059
|
+
medium: "medium";
|
|
3060
|
+
high: "high";
|
|
3061
|
+
xhigh: "xhigh";
|
|
3062
|
+
max: "max";
|
|
3063
|
+
ultra: "ultra";
|
|
3064
|
+
auto: "auto";
|
|
3065
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
3066
|
+
none: "none";
|
|
3067
|
+
minimal: "minimal";
|
|
3068
|
+
low: "low";
|
|
3069
|
+
medium: "medium";
|
|
3070
|
+
high: "high";
|
|
3071
|
+
xhigh: "xhigh";
|
|
3072
|
+
max: "max";
|
|
3073
|
+
ultra: "ultra";
|
|
3074
|
+
auto: "auto";
|
|
3075
|
+
}>>>;
|
|
3076
|
+
budget: z.ZodObject<{
|
|
3077
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3078
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
3079
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
3080
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3081
|
+
type: z.ZodLiteral<"omit-value">;
|
|
3082
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3083
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
3084
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3085
|
+
type: z.ZodLiteral<"fallback">;
|
|
3086
|
+
value: z.ZodNumber;
|
|
3087
|
+
}, z.core.$strip>], "type">;
|
|
3088
|
+
}, z.core.$strip>;
|
|
3089
|
+
}, z.core.$strip>]>>;
|
|
3090
|
+
off: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3091
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
3092
|
+
target: z.ZodEnum<{
|
|
3093
|
+
effort: "effort";
|
|
3094
|
+
reasoningEffort: "reasoningEffort";
|
|
3095
|
+
reasoningSummary: "reasoningSummary";
|
|
3096
|
+
reasoning_effort: "reasoning_effort";
|
|
3097
|
+
"reasoning.effort": "reasoning.effort";
|
|
3098
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
3099
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
3100
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
3101
|
+
"thinking.type": "thinking.type";
|
|
3102
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
3103
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
3104
|
+
"thinking.display": "thinking.display";
|
|
3105
|
+
sendReasoning: "sendReasoning";
|
|
3106
|
+
enable_thinking: "enable_thinking";
|
|
3107
|
+
thinking_budget: "thinking_budget";
|
|
3108
|
+
incremental_output: "incremental_output";
|
|
3109
|
+
disable_reasoning: "disable_reasoning";
|
|
3110
|
+
reasoning_budget: "reasoning_budget";
|
|
3111
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
3112
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
3113
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
3114
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
3115
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
3116
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
3117
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
3118
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
3119
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
3120
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
3121
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
3122
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
3123
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
3124
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
3125
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
3126
|
+
think: "think";
|
|
3127
|
+
}>;
|
|
3128
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3129
|
+
source: z.ZodLiteral<"literal">;
|
|
3130
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3132
|
+
source: z.ZodLiteral<"effort">;
|
|
3133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3134
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
3135
|
+
}, z.core.$strip>], "source">;
|
|
3136
|
+
}, z.core.$strip>>;
|
|
3137
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
3138
|
+
none: "none";
|
|
3139
|
+
minimal: "minimal";
|
|
3140
|
+
low: "low";
|
|
3141
|
+
medium: "medium";
|
|
3142
|
+
high: "high";
|
|
3143
|
+
xhigh: "xhigh";
|
|
3144
|
+
max: "max";
|
|
3145
|
+
ultra: "ultra";
|
|
3146
|
+
auto: "auto";
|
|
3147
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
3148
|
+
none: "none";
|
|
3149
|
+
minimal: "minimal";
|
|
3150
|
+
low: "low";
|
|
3151
|
+
medium: "medium";
|
|
3152
|
+
high: "high";
|
|
3153
|
+
xhigh: "xhigh";
|
|
3154
|
+
max: "max";
|
|
3155
|
+
ultra: "ultra";
|
|
3156
|
+
auto: "auto";
|
|
3157
|
+
}>>>;
|
|
3158
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3159
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
3160
|
+
target: z.ZodEnum<{
|
|
3161
|
+
effort: "effort";
|
|
3162
|
+
reasoningEffort: "reasoningEffort";
|
|
3163
|
+
reasoningSummary: "reasoningSummary";
|
|
3164
|
+
reasoning_effort: "reasoning_effort";
|
|
3165
|
+
"reasoning.effort": "reasoning.effort";
|
|
3166
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
3167
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
3168
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
3169
|
+
"thinking.type": "thinking.type";
|
|
3170
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
3171
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
3172
|
+
"thinking.display": "thinking.display";
|
|
3173
|
+
sendReasoning: "sendReasoning";
|
|
3174
|
+
enable_thinking: "enable_thinking";
|
|
3175
|
+
thinking_budget: "thinking_budget";
|
|
3176
|
+
incremental_output: "incremental_output";
|
|
3177
|
+
disable_reasoning: "disable_reasoning";
|
|
3178
|
+
reasoning_budget: "reasoning_budget";
|
|
3179
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
3180
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
3181
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
3182
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
3183
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
3184
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
3185
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
3186
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
3187
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
3188
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
3189
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
3190
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
3191
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
3192
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
3193
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
3194
|
+
think: "think";
|
|
3195
|
+
}>;
|
|
3196
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3197
|
+
source: z.ZodLiteral<"literal">;
|
|
3198
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3199
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3200
|
+
source: z.ZodLiteral<"effort">;
|
|
3201
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3202
|
+
source: z.ZodLiteral<"budget">;
|
|
3203
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3204
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
3205
|
+
}, z.core.$strip>], "source">;
|
|
3206
|
+
}, z.core.$strip>>;
|
|
3207
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
3208
|
+
none: "none";
|
|
3209
|
+
minimal: "minimal";
|
|
3210
|
+
low: "low";
|
|
3211
|
+
medium: "medium";
|
|
3212
|
+
high: "high";
|
|
3213
|
+
xhigh: "xhigh";
|
|
3214
|
+
max: "max";
|
|
3215
|
+
ultra: "ultra";
|
|
3216
|
+
auto: "auto";
|
|
3217
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
3218
|
+
none: "none";
|
|
3219
|
+
minimal: "minimal";
|
|
3220
|
+
low: "low";
|
|
3221
|
+
medium: "medium";
|
|
3222
|
+
high: "high";
|
|
3223
|
+
xhigh: "xhigh";
|
|
3224
|
+
max: "max";
|
|
3225
|
+
ultra: "ultra";
|
|
3226
|
+
auto: "auto";
|
|
3227
|
+
}>>>;
|
|
3228
|
+
budget: z.ZodObject<{
|
|
3229
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3230
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
3231
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
3232
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3233
|
+
type: z.ZodLiteral<"omit-value">;
|
|
3234
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3235
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
3236
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3237
|
+
type: z.ZodLiteral<"fallback">;
|
|
3238
|
+
value: z.ZodNumber;
|
|
3239
|
+
}, z.core.$strip>], "type">;
|
|
3240
|
+
}, z.core.$strip>;
|
|
3241
|
+
}, z.core.$strip>]>>;
|
|
3242
|
+
auto: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3243
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
3244
|
+
target: z.ZodEnum<{
|
|
3245
|
+
effort: "effort";
|
|
3246
|
+
reasoningEffort: "reasoningEffort";
|
|
3247
|
+
reasoningSummary: "reasoningSummary";
|
|
3248
|
+
reasoning_effort: "reasoning_effort";
|
|
3249
|
+
"reasoning.effort": "reasoning.effort";
|
|
3250
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
3251
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
3252
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
3253
|
+
"thinking.type": "thinking.type";
|
|
3254
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
3255
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
3256
|
+
"thinking.display": "thinking.display";
|
|
3257
|
+
sendReasoning: "sendReasoning";
|
|
3258
|
+
enable_thinking: "enable_thinking";
|
|
3259
|
+
thinking_budget: "thinking_budget";
|
|
3260
|
+
incremental_output: "incremental_output";
|
|
3261
|
+
disable_reasoning: "disable_reasoning";
|
|
3262
|
+
reasoning_budget: "reasoning_budget";
|
|
3263
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
3264
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
3265
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
3266
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
3267
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
3268
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
3269
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
3270
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
3271
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
3272
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
3273
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
3274
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
3275
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
3276
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
3277
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
3278
|
+
think: "think";
|
|
3279
|
+
}>;
|
|
3280
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3281
|
+
source: z.ZodLiteral<"literal">;
|
|
3282
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3283
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3284
|
+
source: z.ZodLiteral<"effort">;
|
|
3285
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3286
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
3287
|
+
}, z.core.$strip>], "source">;
|
|
3288
|
+
}, z.core.$strip>>;
|
|
3289
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
3290
|
+
none: "none";
|
|
3291
|
+
minimal: "minimal";
|
|
3292
|
+
low: "low";
|
|
3293
|
+
medium: "medium";
|
|
3294
|
+
high: "high";
|
|
3295
|
+
xhigh: "xhigh";
|
|
3296
|
+
max: "max";
|
|
3297
|
+
ultra: "ultra";
|
|
3298
|
+
auto: "auto";
|
|
3299
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
3300
|
+
none: "none";
|
|
3301
|
+
minimal: "minimal";
|
|
3302
|
+
low: "low";
|
|
3303
|
+
medium: "medium";
|
|
3304
|
+
high: "high";
|
|
3305
|
+
xhigh: "xhigh";
|
|
3306
|
+
max: "max";
|
|
3307
|
+
ultra: "ultra";
|
|
3308
|
+
auto: "auto";
|
|
3309
|
+
}>>>;
|
|
3310
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3311
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
3312
|
+
target: z.ZodEnum<{
|
|
3313
|
+
effort: "effort";
|
|
3314
|
+
reasoningEffort: "reasoningEffort";
|
|
3315
|
+
reasoningSummary: "reasoningSummary";
|
|
3316
|
+
reasoning_effort: "reasoning_effort";
|
|
3317
|
+
"reasoning.effort": "reasoning.effort";
|
|
3318
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
3319
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
3320
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
3321
|
+
"thinking.type": "thinking.type";
|
|
3322
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
3323
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
3324
|
+
"thinking.display": "thinking.display";
|
|
3325
|
+
sendReasoning: "sendReasoning";
|
|
3326
|
+
enable_thinking: "enable_thinking";
|
|
3327
|
+
thinking_budget: "thinking_budget";
|
|
3328
|
+
incremental_output: "incremental_output";
|
|
3329
|
+
disable_reasoning: "disable_reasoning";
|
|
3330
|
+
reasoning_budget: "reasoning_budget";
|
|
3331
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
3332
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
3333
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
3334
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
3335
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
3336
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
3337
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
3338
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
3339
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
3340
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
3341
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
3342
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
3343
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
3344
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
3345
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
3346
|
+
think: "think";
|
|
3347
|
+
}>;
|
|
3348
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3349
|
+
source: z.ZodLiteral<"literal">;
|
|
3350
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3351
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3352
|
+
source: z.ZodLiteral<"effort">;
|
|
3353
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3354
|
+
source: z.ZodLiteral<"budget">;
|
|
3355
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3356
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
3357
|
+
}, z.core.$strip>], "source">;
|
|
3358
|
+
}, z.core.$strip>>;
|
|
3359
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
3360
|
+
none: "none";
|
|
3361
|
+
minimal: "minimal";
|
|
3362
|
+
low: "low";
|
|
3363
|
+
medium: "medium";
|
|
3364
|
+
high: "high";
|
|
3365
|
+
xhigh: "xhigh";
|
|
3366
|
+
max: "max";
|
|
3367
|
+
ultra: "ultra";
|
|
3368
|
+
auto: "auto";
|
|
3369
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
3370
|
+
none: "none";
|
|
3371
|
+
minimal: "minimal";
|
|
3372
|
+
low: "low";
|
|
3373
|
+
medium: "medium";
|
|
3374
|
+
high: "high";
|
|
3375
|
+
xhigh: "xhigh";
|
|
3376
|
+
max: "max";
|
|
3377
|
+
ultra: "ultra";
|
|
3378
|
+
auto: "auto";
|
|
3379
|
+
}>>>;
|
|
3380
|
+
budget: z.ZodObject<{
|
|
3381
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3382
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
3383
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
3384
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3385
|
+
type: z.ZodLiteral<"omit-value">;
|
|
3386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3387
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
3388
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3389
|
+
type: z.ZodLiteral<"fallback">;
|
|
3390
|
+
value: z.ZodNumber;
|
|
3391
|
+
}, z.core.$strip>], "type">;
|
|
3392
|
+
}, z.core.$strip>;
|
|
3393
|
+
}, z.core.$strip>]>>;
|
|
3394
|
+
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3395
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
3396
|
+
target: z.ZodEnum<{
|
|
3397
|
+
effort: "effort";
|
|
3398
|
+
reasoningEffort: "reasoningEffort";
|
|
3399
|
+
reasoningSummary: "reasoningSummary";
|
|
3400
|
+
reasoning_effort: "reasoning_effort";
|
|
3401
|
+
"reasoning.effort": "reasoning.effort";
|
|
3402
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
3403
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
3404
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
3405
|
+
"thinking.type": "thinking.type";
|
|
3406
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
3407
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
3408
|
+
"thinking.display": "thinking.display";
|
|
3409
|
+
sendReasoning: "sendReasoning";
|
|
3410
|
+
enable_thinking: "enable_thinking";
|
|
3411
|
+
thinking_budget: "thinking_budget";
|
|
3412
|
+
incremental_output: "incremental_output";
|
|
3413
|
+
disable_reasoning: "disable_reasoning";
|
|
3414
|
+
reasoning_budget: "reasoning_budget";
|
|
3415
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
3416
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
3417
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
3418
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
3419
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
3420
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
3421
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
3422
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
3423
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
3424
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
3425
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
3426
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
3427
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
3428
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
3429
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
3430
|
+
think: "think";
|
|
3431
|
+
}>;
|
|
3432
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3433
|
+
source: z.ZodLiteral<"literal">;
|
|
3434
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3435
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3436
|
+
source: z.ZodLiteral<"effort">;
|
|
3437
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3438
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
3439
|
+
}, z.core.$strip>], "source">;
|
|
3440
|
+
}, z.core.$strip>>;
|
|
3441
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
3442
|
+
none: "none";
|
|
3443
|
+
minimal: "minimal";
|
|
3444
|
+
low: "low";
|
|
3445
|
+
medium: "medium";
|
|
3446
|
+
high: "high";
|
|
3447
|
+
xhigh: "xhigh";
|
|
3448
|
+
max: "max";
|
|
3449
|
+
ultra: "ultra";
|
|
3450
|
+
auto: "auto";
|
|
3451
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
3452
|
+
none: "none";
|
|
3453
|
+
minimal: "minimal";
|
|
3454
|
+
low: "low";
|
|
3455
|
+
medium: "medium";
|
|
3456
|
+
high: "high";
|
|
3457
|
+
xhigh: "xhigh";
|
|
3458
|
+
max: "max";
|
|
3459
|
+
ultra: "ultra";
|
|
3460
|
+
auto: "auto";
|
|
3461
|
+
}>>>;
|
|
3462
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3463
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
3464
|
+
target: z.ZodEnum<{
|
|
3465
|
+
effort: "effort";
|
|
3466
|
+
reasoningEffort: "reasoningEffort";
|
|
3467
|
+
reasoningSummary: "reasoningSummary";
|
|
3468
|
+
reasoning_effort: "reasoning_effort";
|
|
3469
|
+
"reasoning.effort": "reasoning.effort";
|
|
3470
|
+
"reasoning.enabled": "reasoning.enabled";
|
|
3471
|
+
"reasoning.exclude": "reasoning.exclude";
|
|
3472
|
+
"reasoning.max_tokens": "reasoning.max_tokens";
|
|
3473
|
+
"thinking.type": "thinking.type";
|
|
3474
|
+
"thinking.budget_tokens": "thinking.budget_tokens";
|
|
3475
|
+
"thinking.budgetTokens": "thinking.budgetTokens";
|
|
3476
|
+
"thinking.display": "thinking.display";
|
|
3477
|
+
sendReasoning: "sendReasoning";
|
|
3478
|
+
enable_thinking: "enable_thinking";
|
|
3479
|
+
thinking_budget: "thinking_budget";
|
|
3480
|
+
incremental_output: "incremental_output";
|
|
3481
|
+
disable_reasoning: "disable_reasoning";
|
|
3482
|
+
reasoning_budget: "reasoning_budget";
|
|
3483
|
+
"chat_template_kwargs.enable_thinking": "chat_template_kwargs.enable_thinking";
|
|
3484
|
+
"chat_template_kwargs.thinking": "chat_template_kwargs.thinking";
|
|
3485
|
+
"chat_template_kwargs.thinking_mode": "chat_template_kwargs.thinking_mode";
|
|
3486
|
+
"chat_template_kwargs.thinking_budget": "chat_template_kwargs.thinking_budget";
|
|
3487
|
+
"extra_body.google.thinking_config.thinking_budget": "extra_body.google.thinking_config.thinking_budget";
|
|
3488
|
+
"extra_body.google.thinking_config.include_thoughts": "extra_body.google.thinking_config.include_thoughts";
|
|
3489
|
+
"extra_body.thinking.type": "extra_body.thinking.type";
|
|
3490
|
+
"extra_body.thinking_budget": "extra_body.thinking_budget";
|
|
3491
|
+
"extra_body.reasoning_effort": "extra_body.reasoning_effort";
|
|
3492
|
+
"thinkingConfig.includeThoughts": "thinkingConfig.includeThoughts";
|
|
3493
|
+
"thinkingConfig.thinkingBudget": "thinkingConfig.thinkingBudget";
|
|
3494
|
+
"thinkingConfig.thinkingLevel": "thinkingConfig.thinkingLevel";
|
|
3495
|
+
"reasoningConfig.type": "reasoningConfig.type";
|
|
3496
|
+
"reasoningConfig.budgetTokens": "reasoningConfig.budgetTokens";
|
|
3497
|
+
"reasoningConfig.maxReasoningEffort": "reasoningConfig.maxReasoningEffort";
|
|
3498
|
+
think: "think";
|
|
3499
|
+
}>;
|
|
3500
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3501
|
+
source: z.ZodLiteral<"literal">;
|
|
3502
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3503
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3504
|
+
source: z.ZodLiteral<"effort">;
|
|
3505
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3506
|
+
source: z.ZodLiteral<"budget">;
|
|
3507
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3508
|
+
source: z.ZodLiteral<"assistant-summary">;
|
|
3509
|
+
}, z.core.$strip>], "source">;
|
|
3510
|
+
}, z.core.$strip>>;
|
|
3511
|
+
effortMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
3512
|
+
none: "none";
|
|
3513
|
+
minimal: "minimal";
|
|
3514
|
+
low: "low";
|
|
3515
|
+
medium: "medium";
|
|
3516
|
+
high: "high";
|
|
3517
|
+
xhigh: "xhigh";
|
|
3518
|
+
max: "max";
|
|
3519
|
+
ultra: "ultra";
|
|
3520
|
+
auto: "auto";
|
|
3521
|
+
}> & z.core.$partial, z.ZodEnum<{
|
|
3522
|
+
none: "none";
|
|
3523
|
+
minimal: "minimal";
|
|
3524
|
+
low: "low";
|
|
3525
|
+
medium: "medium";
|
|
3526
|
+
high: "high";
|
|
3527
|
+
xhigh: "xhigh";
|
|
3528
|
+
max: "max";
|
|
3529
|
+
ultra: "ultra";
|
|
3530
|
+
auto: "auto";
|
|
3531
|
+
}>>>;
|
|
3532
|
+
budget: z.ZodObject<{
|
|
3533
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3534
|
+
autoValue: z.ZodOptional<z.ZodNumber>;
|
|
3535
|
+
clampToMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
3536
|
+
missing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3537
|
+
type: z.ZodLiteral<"omit-value">;
|
|
3538
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3539
|
+
type: z.ZodLiteral<"omit-mode">;
|
|
3540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3541
|
+
type: z.ZodLiteral<"fallback">;
|
|
3542
|
+
value: z.ZodNumber;
|
|
3543
|
+
}, z.core.$strip>], "type">;
|
|
3544
|
+
}, z.core.$strip>;
|
|
3545
|
+
}, z.core.$strip>]>>;
|
|
3546
|
+
}, z.core.$strip>>;
|
|
3547
|
+
}, z.core.$strip>;
|
|
3548
|
+
type ReasoningFormatWireProfile = z.infer<typeof ReasoningFormatWireProfileSchema>;
|
|
3549
|
+
//#endregion
|
|
3550
|
+
//#region src/reasoningProfiles.d.ts
|
|
3551
|
+
/** Apply a user's explicit compatibility choice to an OpenAI Responses wire. */
|
|
3552
|
+
declare function configureOpenAIResponsesSummary(profile: ReasoningWireProfile, enabled: boolean): ReasoningWireProfile;
|
|
3553
|
+
/**
|
|
3554
|
+
* OpenAI's own Responses reasoning wire. Third-party hosts opt in through an
|
|
3555
|
+
* endpoint dialect override because some reject `reasoning.summary`.
|
|
3556
|
+
*/
|
|
3557
|
+
declare const openaiResponsesSummaryWire: {
|
|
3558
|
+
disabled?: true | undefined;
|
|
3559
|
+
default?: {
|
|
3560
|
+
operations: {
|
|
3561
|
+
target: "effort" | "reasoningEffort" | "reasoningSummary" | "reasoning_effort" | "reasoning.effort" | "reasoning.enabled" | "reasoning.exclude" | "reasoning.max_tokens" | "thinking.type" | "thinking.budget_tokens" | "thinking.budgetTokens" | "thinking.display" | "sendReasoning" | "enable_thinking" | "thinking_budget" | "incremental_output" | "disable_reasoning" | "reasoning_budget" | "chat_template_kwargs.enable_thinking" | "chat_template_kwargs.thinking" | "chat_template_kwargs.thinking_mode" | "chat_template_kwargs.thinking_budget" | "extra_body.google.thinking_config.thinking_budget" | "extra_body.google.thinking_config.include_thoughts" | "extra_body.thinking.type" | "extra_body.thinking_budget" | "extra_body.reasoning_effort" | "thinkingConfig.includeThoughts" | "thinkingConfig.thinkingBudget" | "thinkingConfig.thinkingLevel" | "reasoningConfig.type" | "reasoningConfig.budgetTokens" | "reasoningConfig.maxReasoningEffort" | "think";
|
|
3562
|
+
value: {
|
|
3563
|
+
source: "literal";
|
|
3564
|
+
value: string | number | boolean;
|
|
3565
|
+
} | {
|
|
3566
|
+
source: "effort";
|
|
3567
|
+
} | {
|
|
3568
|
+
source: "assistant-summary";
|
|
3569
|
+
};
|
|
3570
|
+
}[];
|
|
3571
|
+
effortMap?: Partial<Record<"none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto", "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto">> | undefined;
|
|
3572
|
+
} | {
|
|
3573
|
+
operations: {
|
|
3574
|
+
target: "effort" | "reasoningEffort" | "reasoningSummary" | "reasoning_effort" | "reasoning.effort" | "reasoning.enabled" | "reasoning.exclude" | "reasoning.max_tokens" | "thinking.type" | "thinking.budget_tokens" | "thinking.budgetTokens" | "thinking.display" | "sendReasoning" | "enable_thinking" | "thinking_budget" | "incremental_output" | "disable_reasoning" | "reasoning_budget" | "chat_template_kwargs.enable_thinking" | "chat_template_kwargs.thinking" | "chat_template_kwargs.thinking_mode" | "chat_template_kwargs.thinking_budget" | "extra_body.google.thinking_config.thinking_budget" | "extra_body.google.thinking_config.include_thoughts" | "extra_body.thinking.type" | "extra_body.thinking_budget" | "extra_body.reasoning_effort" | "thinkingConfig.includeThoughts" | "thinkingConfig.thinkingBudget" | "thinkingConfig.thinkingLevel" | "reasoningConfig.type" | "reasoningConfig.budgetTokens" | "reasoningConfig.maxReasoningEffort" | "think";
|
|
3575
|
+
value: {
|
|
3576
|
+
source: "literal";
|
|
3577
|
+
value: string | number | boolean;
|
|
3578
|
+
} | {
|
|
3579
|
+
source: "effort";
|
|
3580
|
+
} | {
|
|
3581
|
+
source: "budget";
|
|
3582
|
+
} | {
|
|
3583
|
+
source: "assistant-summary";
|
|
3584
|
+
};
|
|
3585
|
+
}[];
|
|
3586
|
+
budget: {
|
|
3587
|
+
missing: {
|
|
3588
|
+
type: "omit-value";
|
|
3589
|
+
} | {
|
|
3590
|
+
type: "omit-mode";
|
|
3591
|
+
} | {
|
|
3592
|
+
type: "fallback";
|
|
3593
|
+
value: number;
|
|
3594
|
+
};
|
|
3595
|
+
min?: number | undefined;
|
|
3596
|
+
autoValue?: number | undefined;
|
|
3597
|
+
clampToMaxTokens?: boolean | undefined;
|
|
3598
|
+
};
|
|
3599
|
+
effortMap?: Partial<Record<"none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto", "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto">> | undefined;
|
|
3600
|
+
} | undefined;
|
|
3601
|
+
off?: {
|
|
3602
|
+
operations: {
|
|
3603
|
+
target: "effort" | "reasoningEffort" | "reasoningSummary" | "reasoning_effort" | "reasoning.effort" | "reasoning.enabled" | "reasoning.exclude" | "reasoning.max_tokens" | "thinking.type" | "thinking.budget_tokens" | "thinking.budgetTokens" | "thinking.display" | "sendReasoning" | "enable_thinking" | "thinking_budget" | "incremental_output" | "disable_reasoning" | "reasoning_budget" | "chat_template_kwargs.enable_thinking" | "chat_template_kwargs.thinking" | "chat_template_kwargs.thinking_mode" | "chat_template_kwargs.thinking_budget" | "extra_body.google.thinking_config.thinking_budget" | "extra_body.google.thinking_config.include_thoughts" | "extra_body.thinking.type" | "extra_body.thinking_budget" | "extra_body.reasoning_effort" | "thinkingConfig.includeThoughts" | "thinkingConfig.thinkingBudget" | "thinkingConfig.thinkingLevel" | "reasoningConfig.type" | "reasoningConfig.budgetTokens" | "reasoningConfig.maxReasoningEffort" | "think";
|
|
3604
|
+
value: {
|
|
3605
|
+
source: "literal";
|
|
3606
|
+
value: string | number | boolean;
|
|
3607
|
+
} | {
|
|
3608
|
+
source: "effort";
|
|
3609
|
+
} | {
|
|
3610
|
+
source: "assistant-summary";
|
|
3611
|
+
};
|
|
3612
|
+
}[];
|
|
3613
|
+
effortMap?: Partial<Record<"none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto", "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto">> | undefined;
|
|
3614
|
+
} | {
|
|
3615
|
+
operations: {
|
|
3616
|
+
target: "effort" | "reasoningEffort" | "reasoningSummary" | "reasoning_effort" | "reasoning.effort" | "reasoning.enabled" | "reasoning.exclude" | "reasoning.max_tokens" | "thinking.type" | "thinking.budget_tokens" | "thinking.budgetTokens" | "thinking.display" | "sendReasoning" | "enable_thinking" | "thinking_budget" | "incremental_output" | "disable_reasoning" | "reasoning_budget" | "chat_template_kwargs.enable_thinking" | "chat_template_kwargs.thinking" | "chat_template_kwargs.thinking_mode" | "chat_template_kwargs.thinking_budget" | "extra_body.google.thinking_config.thinking_budget" | "extra_body.google.thinking_config.include_thoughts" | "extra_body.thinking.type" | "extra_body.thinking_budget" | "extra_body.reasoning_effort" | "thinkingConfig.includeThoughts" | "thinkingConfig.thinkingBudget" | "thinkingConfig.thinkingLevel" | "reasoningConfig.type" | "reasoningConfig.budgetTokens" | "reasoningConfig.maxReasoningEffort" | "think";
|
|
3617
|
+
value: {
|
|
3618
|
+
source: "literal";
|
|
3619
|
+
value: string | number | boolean;
|
|
3620
|
+
} | {
|
|
3621
|
+
source: "effort";
|
|
3622
|
+
} | {
|
|
3623
|
+
source: "budget";
|
|
3624
|
+
} | {
|
|
3625
|
+
source: "assistant-summary";
|
|
3626
|
+
};
|
|
3627
|
+
}[];
|
|
3628
|
+
budget: {
|
|
3629
|
+
missing: {
|
|
3630
|
+
type: "omit-value";
|
|
3631
|
+
} | {
|
|
3632
|
+
type: "omit-mode";
|
|
3633
|
+
} | {
|
|
3634
|
+
type: "fallback";
|
|
3635
|
+
value: number;
|
|
3636
|
+
};
|
|
3637
|
+
min?: number | undefined;
|
|
3638
|
+
autoValue?: number | undefined;
|
|
3639
|
+
clampToMaxTokens?: boolean | undefined;
|
|
3640
|
+
};
|
|
3641
|
+
effortMap?: Partial<Record<"none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto", "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto">> | undefined;
|
|
3642
|
+
} | undefined;
|
|
3643
|
+
auto?: {
|
|
3644
|
+
operations: {
|
|
3645
|
+
target: "effort" | "reasoningEffort" | "reasoningSummary" | "reasoning_effort" | "reasoning.effort" | "reasoning.enabled" | "reasoning.exclude" | "reasoning.max_tokens" | "thinking.type" | "thinking.budget_tokens" | "thinking.budgetTokens" | "thinking.display" | "sendReasoning" | "enable_thinking" | "thinking_budget" | "incremental_output" | "disable_reasoning" | "reasoning_budget" | "chat_template_kwargs.enable_thinking" | "chat_template_kwargs.thinking" | "chat_template_kwargs.thinking_mode" | "chat_template_kwargs.thinking_budget" | "extra_body.google.thinking_config.thinking_budget" | "extra_body.google.thinking_config.include_thoughts" | "extra_body.thinking.type" | "extra_body.thinking_budget" | "extra_body.reasoning_effort" | "thinkingConfig.includeThoughts" | "thinkingConfig.thinkingBudget" | "thinkingConfig.thinkingLevel" | "reasoningConfig.type" | "reasoningConfig.budgetTokens" | "reasoningConfig.maxReasoningEffort" | "think";
|
|
3646
|
+
value: {
|
|
3647
|
+
source: "literal";
|
|
3648
|
+
value: string | number | boolean;
|
|
3649
|
+
} | {
|
|
3650
|
+
source: "effort";
|
|
3651
|
+
} | {
|
|
3652
|
+
source: "assistant-summary";
|
|
3653
|
+
};
|
|
3654
|
+
}[];
|
|
3655
|
+
effortMap?: Partial<Record<"none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto", "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto">> | undefined;
|
|
3656
|
+
} | {
|
|
3657
|
+
operations: {
|
|
3658
|
+
target: "effort" | "reasoningEffort" | "reasoningSummary" | "reasoning_effort" | "reasoning.effort" | "reasoning.enabled" | "reasoning.exclude" | "reasoning.max_tokens" | "thinking.type" | "thinking.budget_tokens" | "thinking.budgetTokens" | "thinking.display" | "sendReasoning" | "enable_thinking" | "thinking_budget" | "incremental_output" | "disable_reasoning" | "reasoning_budget" | "chat_template_kwargs.enable_thinking" | "chat_template_kwargs.thinking" | "chat_template_kwargs.thinking_mode" | "chat_template_kwargs.thinking_budget" | "extra_body.google.thinking_config.thinking_budget" | "extra_body.google.thinking_config.include_thoughts" | "extra_body.thinking.type" | "extra_body.thinking_budget" | "extra_body.reasoning_effort" | "thinkingConfig.includeThoughts" | "thinkingConfig.thinkingBudget" | "thinkingConfig.thinkingLevel" | "reasoningConfig.type" | "reasoningConfig.budgetTokens" | "reasoningConfig.maxReasoningEffort" | "think";
|
|
3659
|
+
value: {
|
|
3660
|
+
source: "literal";
|
|
3661
|
+
value: string | number | boolean;
|
|
3662
|
+
} | {
|
|
3663
|
+
source: "effort";
|
|
3664
|
+
} | {
|
|
3665
|
+
source: "budget";
|
|
3666
|
+
} | {
|
|
3667
|
+
source: "assistant-summary";
|
|
3668
|
+
};
|
|
3669
|
+
}[];
|
|
3670
|
+
budget: {
|
|
3671
|
+
missing: {
|
|
3672
|
+
type: "omit-value";
|
|
3673
|
+
} | {
|
|
3674
|
+
type: "omit-mode";
|
|
3675
|
+
} | {
|
|
3676
|
+
type: "fallback";
|
|
3677
|
+
value: number;
|
|
3678
|
+
};
|
|
3679
|
+
min?: number | undefined;
|
|
3680
|
+
autoValue?: number | undefined;
|
|
3681
|
+
clampToMaxTokens?: boolean | undefined;
|
|
3682
|
+
};
|
|
3683
|
+
effortMap?: Partial<Record<"none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto", "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto">> | undefined;
|
|
3684
|
+
} | undefined;
|
|
3685
|
+
effort?: {
|
|
3686
|
+
operations: {
|
|
3687
|
+
target: "effort" | "reasoningEffort" | "reasoningSummary" | "reasoning_effort" | "reasoning.effort" | "reasoning.enabled" | "reasoning.exclude" | "reasoning.max_tokens" | "thinking.type" | "thinking.budget_tokens" | "thinking.budgetTokens" | "thinking.display" | "sendReasoning" | "enable_thinking" | "thinking_budget" | "incremental_output" | "disable_reasoning" | "reasoning_budget" | "chat_template_kwargs.enable_thinking" | "chat_template_kwargs.thinking" | "chat_template_kwargs.thinking_mode" | "chat_template_kwargs.thinking_budget" | "extra_body.google.thinking_config.thinking_budget" | "extra_body.google.thinking_config.include_thoughts" | "extra_body.thinking.type" | "extra_body.thinking_budget" | "extra_body.reasoning_effort" | "thinkingConfig.includeThoughts" | "thinkingConfig.thinkingBudget" | "thinkingConfig.thinkingLevel" | "reasoningConfig.type" | "reasoningConfig.budgetTokens" | "reasoningConfig.maxReasoningEffort" | "think";
|
|
3688
|
+
value: {
|
|
3689
|
+
source: "literal";
|
|
3690
|
+
value: string | number | boolean;
|
|
3691
|
+
} | {
|
|
3692
|
+
source: "effort";
|
|
3693
|
+
} | {
|
|
3694
|
+
source: "assistant-summary";
|
|
3695
|
+
};
|
|
3696
|
+
}[];
|
|
3697
|
+
effortMap?: Partial<Record<"none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto", "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto">> | undefined;
|
|
3698
|
+
} | {
|
|
3699
|
+
operations: {
|
|
3700
|
+
target: "effort" | "reasoningEffort" | "reasoningSummary" | "reasoning_effort" | "reasoning.effort" | "reasoning.enabled" | "reasoning.exclude" | "reasoning.max_tokens" | "thinking.type" | "thinking.budget_tokens" | "thinking.budgetTokens" | "thinking.display" | "sendReasoning" | "enable_thinking" | "thinking_budget" | "incremental_output" | "disable_reasoning" | "reasoning_budget" | "chat_template_kwargs.enable_thinking" | "chat_template_kwargs.thinking" | "chat_template_kwargs.thinking_mode" | "chat_template_kwargs.thinking_budget" | "extra_body.google.thinking_config.thinking_budget" | "extra_body.google.thinking_config.include_thoughts" | "extra_body.thinking.type" | "extra_body.thinking_budget" | "extra_body.reasoning_effort" | "thinkingConfig.includeThoughts" | "thinkingConfig.thinkingBudget" | "thinkingConfig.thinkingLevel" | "reasoningConfig.type" | "reasoningConfig.budgetTokens" | "reasoningConfig.maxReasoningEffort" | "think";
|
|
3701
|
+
value: {
|
|
3702
|
+
source: "literal";
|
|
3703
|
+
value: string | number | boolean;
|
|
3704
|
+
} | {
|
|
3705
|
+
source: "effort";
|
|
3706
|
+
} | {
|
|
3707
|
+
source: "budget";
|
|
3708
|
+
} | {
|
|
3709
|
+
source: "assistant-summary";
|
|
3710
|
+
};
|
|
3711
|
+
}[];
|
|
3712
|
+
budget: {
|
|
3713
|
+
missing: {
|
|
3714
|
+
type: "omit-value";
|
|
3715
|
+
} | {
|
|
3716
|
+
type: "omit-mode";
|
|
3717
|
+
} | {
|
|
3718
|
+
type: "fallback";
|
|
3719
|
+
value: number;
|
|
3720
|
+
};
|
|
3721
|
+
min?: number | undefined;
|
|
3722
|
+
autoValue?: number | undefined;
|
|
3723
|
+
clampToMaxTokens?: boolean | undefined;
|
|
3724
|
+
};
|
|
3725
|
+
effortMap?: Partial<Record<"none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto", "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | "auto">> | undefined;
|
|
3726
|
+
} | undefined;
|
|
3727
|
+
};
|
|
3728
|
+
declare const REASONING_FORMAT_PROFILES: Record<ReasoningFormatType, ReasoningFormatWireProfile>;
|
|
3729
|
+
/** Select a generation's native wire only when the serving format supports it. */
|
|
3730
|
+
declare function selectFormatWire(profile: ReasoningFormatWireProfile, dialect: ReasoningWireDialect | undefined): ReasoningWireProfile;
|
|
3731
|
+
//#endregion
|
|
3732
|
+
//#region src/utils/reasoningControls.d.ts
|
|
3733
|
+
type DerivedReasoningFields = Pick<ReasoningSupport, 'supportedEfforts' | 'thinkingTokenLimits' | 'defaultEffort'>;
|
|
3734
|
+
declare function deriveLegacyReasoningFields(controls: readonly ReasoningControl[]): DerivedReasoningFields;
|
|
3735
|
+
//#endregion
|
|
3736
|
+
//#region src/utils/normalize.d.ts
|
|
3737
|
+
/**
|
|
3738
|
+
* The dotted half of {@link stripBedrockVendorPrefix} (`us.anthropic.claude-…` → `claude-…`), split out
|
|
3739
|
+
* so display-name derivation can tell how much of a raw id normalization folded away and keep the
|
|
3740
|
+
* prefix as a distinguishing decoration (`MiniMax.MiniMax-M2.1` vs the bare `MiniMax-M2.1`).
|
|
3741
|
+
*/
|
|
3742
|
+
declare function stripBedrockDottedVendorPrefix(modelId: string): string;
|
|
3743
|
+
/** Strip a Bedrock ARN model revision: `claude-…-v1:0` / `…:0` → bare id (keeps `whisper-v3`, no colon). */
|
|
3744
|
+
declare function stripBedrockRevision(modelId: string): string;
|
|
3745
|
+
declare function stripDateSnapshot(modelId: string): string;
|
|
3746
|
+
/**
|
|
3747
|
+
* Iterate variant → quantization → date stripping to a fixpoint. A single pass is order-dependent —
|
|
3748
|
+
* a trailing date shields an inner variant from the `endsWith` check (`…-thinking-2507` only exposes
|
|
3749
|
+
* `-thinking` after the date is gone) — so without the loop canonicalization is not idempotent.
|
|
3750
|
+
* SHARED by the build canonicalizer (`scripts/canonicalize.ts`) and the runtime resolver below.
|
|
3751
|
+
*/
|
|
3752
|
+
declare function stripVariantQuantDateSuffixes(modelId: string): string;
|
|
3753
|
+
/**
|
|
3754
|
+
* Normalize a model ID to its canonical form.
|
|
3755
|
+
* This is the single source of truth for model ID normalization.
|
|
3756
|
+
*
|
|
3757
|
+
* `keepParameterSize` produces the SIZE-PRESERVING key: the parameter size is realigned from any colon
|
|
3758
|
+
* tag and kept (not stripped), so `qwen2.5:7b` → `qwen2-5-7b` and `gpt-oss-20b`/`gpt-oss-120b` stay
|
|
3759
|
+
* distinct. The registry loader indexes on this to resolve a registry-tagged id to its exact-size row
|
|
3760
|
+
* before the default (size-agnostic) key would collapse it onto a same-family sibling.
|
|
3761
|
+
*/
|
|
3762
|
+
declare function normalizeModelId(modelId: string, options?: {
|
|
3763
|
+
keepParameterSize?: boolean;
|
|
3764
|
+
}): string;
|
|
3765
|
+
//#endregion
|
|
3766
|
+
//#region src/registry-utils.d.ts
|
|
3767
|
+
interface ModelLookupResult {
|
|
3768
|
+
presetModel: ModelConfig | null;
|
|
3769
|
+
registryOverride: ProviderModelOverride | null;
|
|
3770
|
+
}
|
|
3771
|
+
/**
|
|
3772
|
+
* Look up a model's preset data and provider-specific override from loaded registry data.
|
|
3773
|
+
* Pure function — no caching, no side effects.
|
|
3774
|
+
*/
|
|
3775
|
+
declare function lookupRegistryModel(models: ModelConfig[], providerModels: ProviderModelOverride[], providerId: string, modelId: string): ModelLookupResult;
|
|
3776
|
+
/**
|
|
3777
|
+
* Find a provider config by ID from loaded registry data.
|
|
3778
|
+
*/
|
|
3779
|
+
declare function lookupRegistryProvider(providers: ProviderConfig[], providerId: string): ProviderConfig | null;
|
|
3780
|
+
interface PersistedEndpointConfig {
|
|
3781
|
+
baseUrl?: string;
|
|
3782
|
+
modelsApiUrls?: {
|
|
3783
|
+
default?: string;
|
|
3784
|
+
embedding?: string;
|
|
3785
|
+
image?: string;
|
|
3786
|
+
reranker?: string;
|
|
3787
|
+
};
|
|
3788
|
+
adapterFamily?: string;
|
|
3789
|
+
dialect?: EndpointDialect;
|
|
3790
|
+
}
|
|
3791
|
+
/**
|
|
3792
|
+
* Project registry endpoint configs onto the connection facts persisted in
|
|
3793
|
+
* user_provider. Main-only reasoning profiles deliberately stay in registry
|
|
3794
|
+
* memory and never cross this boundary.
|
|
3795
|
+
*/
|
|
3796
|
+
declare function buildPersistedEndpointConfigs(registryConfigs: Record<string, RegistryEndpointConfig> | undefined): Record<string, PersistedEndpointConfig> | null;
|
|
3797
|
+
/**
|
|
3798
|
+
* Compute the AI SDK adapter family for an endpoint. Single source of truth
|
|
3799
|
+
* for seeder / migrator / UI creation paths — `adapterFamily` is a derived,
|
|
3800
|
+
* write-time value; the runtime resolver only reads it.
|
|
3801
|
+
*
|
|
3802
|
+
* 1. Catalog `adapterFamily` wins when present (encodes vendor-specific
|
|
3803
|
+
* relay routing like `aihubmix` for anthropic-messages on AiHubMix).
|
|
3804
|
+
* 2. Otherwise, fall back to the endpoint-type default
|
|
3805
|
+
* (`anthropic-messages` → `anthropic`, etc.).
|
|
3806
|
+
* 3. Final fallback `openai-compatible` covers `openai-chat-completions`
|
|
3807
|
+
* and any future openai-protocol endpoint without a more specific match.
|
|
3808
|
+
*/
|
|
3809
|
+
declare function inferAdapterFamily(endpointType: EndpointType, catalogConfig?: Pick<RegistryEndpointConfig, 'adapterFamily'> | Pick<PersistedEndpointConfig, 'adapterFamily'> | null): string;
|
|
3810
|
+
/** Capability implied by a capability-exclusive endpoint, or `undefined` for general-purpose endpoints. */
|
|
3811
|
+
declare function endpointImpliedCapability(endpointType: EndpointType | undefined | null): ModelCapability | undefined;
|
|
3812
|
+
//#endregion
|
|
3813
|
+
//#region src/patterns/vendor-patterns.d.ts
|
|
3814
|
+
/**
|
|
3815
|
+
* Vendor identity regex patterns — the single source of truth for
|
|
3816
|
+
* "which vendor does this raw model ID belong to".
|
|
3817
|
+
*
|
|
3818
|
+
* Shared across three call sites:
|
|
3819
|
+
* - `@shared/utils/model` — vendor check functions (`isAnthropicModel`
|
|
3820
|
+
* etc.) and capability inference (e.g. deciding which IDs to mark
|
|
3821
|
+
* `REASONING` in the schema).
|
|
3822
|
+
* - `@cherrystudio/ui` icon registry — vendor-level icon routing for
|
|
3823
|
+
* models whose ID doesn't have a dedicated SKU icon.
|
|
3824
|
+
* - Future callers doing vendor dispatch.
|
|
3825
|
+
*
|
|
3826
|
+
* Keeping these regex in the registry layer means both capability
|
|
3827
|
+
* inference and icon lookup stay in lockstep when a new vendor /
|
|
3828
|
+
* naming convention lands.
|
|
3829
|
+
*
|
|
3830
|
+
* Scope: **vendor identity only**. SKU-level patterns (`gpt-5.1-codex-mini`,
|
|
3831
|
+
* `claude-sonnet-4-6`, etc.) stay in their specific consumer modules —
|
|
3832
|
+
* those are dispatch details rather than shared vendor taxonomy.
|
|
3833
|
+
*
|
|
3834
|
+
* Normalization note: patterns assume the id has already been lowercased
|
|
3835
|
+
* and had the leading namespace stripped (e.g. `deepseek/deepseek-r1` →
|
|
3836
|
+
* `deepseek-r1`). Pair with `getLowerBaseModelName` (in `@shared`) or
|
|
3837
|
+
* `normalizeModelId` (in this package).
|
|
3838
|
+
*/
|
|
3839
|
+
/**
|
|
3840
|
+
* Match raw model IDs to their vendor. Keys are vendor slugs; order is
|
|
3841
|
+
* not significant because every pattern is anchored to the start of the
|
|
3842
|
+
* (namespace-stripped) id, so they stay mutually exclusive — a model
|
|
3843
|
+
* belongs to at most one vendor. Keep new patterns anchored (`^…`) so a
|
|
3844
|
+
* cross-vendor id like `deepseek-grok` resolves by its leading token, not
|
|
3845
|
+
* by insertion order.
|
|
3846
|
+
*/
|
|
3847
|
+
declare const VENDOR_PATTERNS: {
|
|
3848
|
+
/** Anthropic / Claude family. Also matches the AWS Bedrock `anthropic.claude-*` prefix. */
|
|
3849
|
+
readonly anthropic: RegExp;
|
|
3850
|
+
/** Google Gemini family. */
|
|
3851
|
+
readonly gemini: RegExp;
|
|
3852
|
+
/** Google Gemma family (gemma-*, gemma2/3/4, and the Ollama-style `gemma:2b` tag). */
|
|
3853
|
+
readonly gemma: RegExp;
|
|
3854
|
+
/** xAI Grok family. */
|
|
3855
|
+
readonly grok: RegExp;
|
|
3856
|
+
/**
|
|
3857
|
+
* OpenAI (chat + reasoning + legacy + media + embeddings). GPT-n, ChatGPT, the bare o<digit> series,
|
|
3858
|
+
* codex/davinci/babbage, DALL·E, moderation, and OpenAI's `text-embedding-3*` / `-ada` embeddings.
|
|
3859
|
+
* `text-embedding` is scoped to the `-3`/`-ada` SKUs on purpose — bare `text-embedding-0xx` is Google's,
|
|
3860
|
+
* and `VENDOR_PATTERNS` is a flat set with no per-creator disambiguation.
|
|
3861
|
+
*/
|
|
3862
|
+
readonly openai: RegExp;
|
|
3863
|
+
/** Alibaba Qwen family (qwen, qwq, qvq). */
|
|
3864
|
+
readonly qwen: RegExp;
|
|
3865
|
+
/** ByteDance Doubao family. */
|
|
3866
|
+
readonly doubao: RegExp;
|
|
3867
|
+
/** Tencent Hunyuan family — `hunyuan-*`, the `hy-*` SKUs, and the versioned `hyN` namespace (`hy3-preview`). */
|
|
3868
|
+
readonly hunyuan: RegExp;
|
|
3869
|
+
/** Moonshot / Kimi family, including Kimi Code's bare K3 model IDs. */
|
|
3870
|
+
readonly kimi: RegExp;
|
|
3871
|
+
/** DeepSeek family. */
|
|
3872
|
+
readonly deepseek: RegExp;
|
|
3873
|
+
/** Perplexity (sonar family). */
|
|
3874
|
+
readonly perplexity: RegExp;
|
|
3875
|
+
/** Baichuan family. */
|
|
3876
|
+
readonly baichuan: RegExp;
|
|
3877
|
+
/** Xiaomi MiMo family. */
|
|
3878
|
+
readonly mimo: RegExp;
|
|
3879
|
+
/** Ant Group Ling / Ring family. */
|
|
3880
|
+
readonly ling: RegExp;
|
|
3881
|
+
/** MiniMax family — current `minimax-*` plus the legacy `abab-*` SKUs the creator still claims. */
|
|
3882
|
+
readonly minimax: RegExp;
|
|
3883
|
+
/** StepFun family. */
|
|
3884
|
+
readonly step: RegExp;
|
|
3885
|
+
/** Zhipu / GLM family. */
|
|
3886
|
+
readonly zhipu: RegExp;
|
|
3887
|
+
/** Mistral family — incl. the `open-*` open-weight line (`open-mistral-7b`, `open-mixtral-8x22b`) and `labs-*`. */
|
|
3888
|
+
readonly mistral: RegExp;
|
|
3889
|
+
};
|
|
3890
|
+
type VendorKey = keyof typeof VENDOR_PATTERNS;
|
|
3891
|
+
/**
|
|
3892
|
+
* Return the vendor slug for a normalized model ID, or `undefined` if
|
|
3893
|
+
* no vendor pattern matches. Iteration order is stable (key insertion
|
|
3894
|
+
* order) but not semantically important — patterns don't overlap.
|
|
3895
|
+
*/
|
|
3896
|
+
declare function matchVendor(normalizedId: string): VendorKey | undefined;
|
|
3897
|
+
/**
|
|
3898
|
+
* Lightweight vendor predicate factory. Exported primarily so consumers
|
|
3899
|
+
* can spell the check as `isVendor('anthropic')(id)` when composing
|
|
3900
|
+
* higher-level logic.
|
|
3901
|
+
*/
|
|
3902
|
+
declare function isVendor(vendor: VendorKey): (normalizedId: string) => boolean;
|
|
3903
|
+
//#endregion
|
|
3904
|
+
//#region src/patterns/reasoning-heuristics.d.ts
|
|
3905
|
+
/**
|
|
3906
|
+
* Is this id a reasoning model at all? The ingest MEMBERSHIP gate consulted
|
|
3907
|
+
* before `inferReasoningControls` supplies the knobs. Membership is implied
|
|
3908
|
+
* by the same rule table: PROFILE rules grant it, TEMPLATE rules (broad
|
|
3909
|
+
* knob-shape carriers like the `^qwen` toggle) don't. Skip it when the
|
|
3910
|
+
* model's REASONING capability is already declared.
|
|
3911
|
+
*/
|
|
3912
|
+
declare function inferReasoningMembership(rawModelId: string): boolean;
|
|
3913
|
+
/**
|
|
3914
|
+
* Infer a model's reasoning controls from its id. Returns `undefined` when no
|
|
3915
|
+
* family rule matches — callers gate on the model actually being
|
|
3916
|
+
* reasoning-capable; rules only know the KNOBS. The wire dialect is NOT part
|
|
3917
|
+
* of the result: it follows the serving provider's endpoint declaration.
|
|
3918
|
+
*/
|
|
3919
|
+
declare function inferReasoningControls(rawModelId: string): ReasoningControl[] | undefined;
|
|
3920
|
+
/** Infer canonical creator metadata once for an unmatched/custom model. */
|
|
3921
|
+
declare function inferReasoningOwnedBy(rawModelId: string): string | undefined;
|
|
3922
|
+
//#endregion
|
|
3923
|
+
//#region src/patterns/serverToolConstraints.d.ts
|
|
3924
|
+
/** Whether the model's provider-native tools coexist with function declarations (absent ⇒ conflict-prone). */
|
|
3925
|
+
declare function supportsServerToolFunctionMixing(rawModelId: string): boolean;
|
|
3926
|
+
/** Whether the provider-native web-search tool rejects this reasoning effort on this model. */
|
|
3927
|
+
declare function isWebSearchEffortUnsupported(rawModelId: string, effort: string): boolean;
|
|
3928
|
+
//#endregion
|
|
3929
|
+
//#region src/patterns/serverToolModelEligibility.d.ts
|
|
3930
|
+
declare function isServerToolModelEligible(rawModelId: string, providerId: string, tool: ServerTool): boolean;
|
|
3931
|
+
//#endregion
|
|
3932
|
+
export { CANONICAL_PARAM_KEY, CURRENCY, type CanonicalParamKey, type CatalogManifest, CatalogManifestSchema, type Currency, type DerivedReasoningFields, ENDPOINT_TYPE, type EndpointDialect, type EndpointType, FastModeTransportSchema, IMAGE_PARAM_CATALOG, IMAGE_PARAM_CATALOG_KEYS, type ImageGenerationMode, ImageGenerationModeSchema, type ImageGenerationSupport, ImageGenerationSupportSchema, type ImageModeDef, type ImageParamCatalogEntry, MODALITY, MODEL_CAPABILITY, type Modality, type ModelCapability, type ModelConfig, type ModelConfig as ProtoModelConfig, ModelConfigSchema, ModelListSchema, type ModelLookupResult, type ModelPricing, type ModelPricing as ProtoModelPricing, type ModelSnapshot, type ParamValue, type ParamValues, type PersistedEndpointConfig, type ProviderConfig as ProtoProviderConfig, type ProviderConfig, type ProviderModelOverride as ProtoProviderModelOverride, type ProviderModelOverride, type ProviderReasoningFormat as ProtoProviderReasoningFormat, type ProviderReasoningFormat, type ReasoningSupport as ProtoReasoningSupport, type ReasoningSupport, ProviderConfigSchema, type ProviderEdition, ProviderEditionSchema, ProviderListSchema, ProviderModelListSchema, ProviderModelOverrideSchema, type ProviderModelReasoningContract, ProviderModelReasoningContractSchema, REASONING_EFFORT, REASONING_EFFORT_ORDER, REASONING_FORMAT_PROFILES, REASONING_FORMAT_TYPES, REASONING_WIRE_TARGETS, REGISTRY_FILES, REGISTRY_MIN_APP_VERSION, REGISTRY_SCHEMA_VERSION, REMOTE_REGISTRY_FILES, type ReasoningControl, ReasoningControlSchema, type ReasoningEffort, type ReasoningFormatType, type ReasoningFormatWireProfile, ReasoningFormatWireProfileSchema, type ReasoningWireDialect, type ReasoningWireMode, type ReasoningWireOperation, type ReasoningWireProfile, ReasoningWireProfileSchema, type ReasoningWireTarget, type ReasoningWireValue, type Registry, type RegistryCatalog, type RegistryEndpointConfig, type RegistryFileName, type RemoteRegistryFileName, SERVER_TOOL, SERVER_TOOL_MODEL_SCOPE, type ServerTool, type ServerToolConfig, ServerToolConfigSchema, type ServerToolModelScope, type ServiceTierDelivery, ServiceTierDeliverySchema, type ServiceTierOptions, ServiceTierOptionsSchema, type ServiceTierRequestControl, ServiceTierRequestControlSchema, type ServiceTierSelection, ServiceTierSelectionSchema, type SupportSpec, VENDOR_PATTERNS, type VendorKey, buildParamsSchema, buildPersistedEndpointConfigs, configureOpenAIResponsesSummary, createRegistry, deriveLegacyReasoningFields, endpointImpliedCapability, imageParamsSchema, inferAdapterFamily, inferReasoningControls, inferReasoningMembership, inferReasoningOwnedBy, isServerToolModelEligible, isVendor, isWebSearchEffortUnsupported, lookupRegistryModel, lookupRegistryProvider, matchVendor, normalizeImageParamNumber, normalizeModelId, objectValues, openaiResponsesSummaryWire, paramCatalogEntry, parseImageParamValue, parseModelSnapshot, selectFormatWire, stripBedrockDottedVendorPrefix, stripBedrockRevision, stripDateSnapshot, stripVariantQuantDateSuffixes, supportsServerToolFunctionMixing, wireName };
|