@stll/ai-catalog 0.7.1 → 0.8.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/README.md +5 -5
- package/dist/benchmark-frontier.d.ts +1 -1
- package/dist/benchmarks.d.ts +1 -1
- package/dist/benchmarks.js +1 -1
- package/dist/{index-EpV_hi43.d.ts → index-Ci4rdcxe.d.ts} +1421 -180
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/model-defaults-ledger.d.ts +2 -0
- package/dist/model-defaults-ledger.js +450 -0
- package/dist/{src-CyBTM4lw.js → src-CC7RZ0HV.js} +41 -217
- package/package.json +7 -1
|
@@ -1,4 +1,1347 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
|
+
//#region src/model-defaults-ledger.d.ts
|
|
3
|
+
declare const MODEL_TASKS: readonly ["chat", "reasoning", "analysis", "pdf", "search-expand", "classify", "short-text"];
|
|
4
|
+
type ModelTask = (typeof MODEL_TASKS)[number];
|
|
5
|
+
declare const MODEL_OVERRIDE_GROUPS: readonly ["fast", "chat", "reasoning", "pdf"];
|
|
6
|
+
type ModelOverrideGroup = (typeof MODEL_OVERRIDE_GROUPS)[number];
|
|
7
|
+
declare const MODEL_TASK_OVERRIDE_GROUP: {
|
|
8
|
+
readonly chat: "chat";
|
|
9
|
+
readonly reasoning: "reasoning";
|
|
10
|
+
readonly analysis: "chat";
|
|
11
|
+
readonly pdf: "pdf";
|
|
12
|
+
readonly "search-expand": "fast";
|
|
13
|
+
readonly classify: "fast";
|
|
14
|
+
readonly "short-text": "fast";
|
|
15
|
+
};
|
|
16
|
+
declare const MODEL_OVERRIDE_GROUP_TASK: {
|
|
17
|
+
readonly fast: "short-text";
|
|
18
|
+
readonly chat: "chat";
|
|
19
|
+
readonly reasoning: "reasoning";
|
|
20
|
+
readonly pdf: "pdf";
|
|
21
|
+
};
|
|
22
|
+
/** A reasoning request is capability-clamped before it reaches the provider. */
|
|
23
|
+
type ModelMode = {
|
|
24
|
+
type: "google-thinking";
|
|
25
|
+
requestedEffort: ReasoningEffort;
|
|
26
|
+
thinkingLevel: "MINIMAL" | "LOW" | "MEDIUM" | "HIGH";
|
|
27
|
+
temperaturePolicy: TemperaturePolicy;
|
|
28
|
+
} | {
|
|
29
|
+
type: "provider-default";
|
|
30
|
+
temperaturePolicy: TemperaturePolicy;
|
|
31
|
+
} | {
|
|
32
|
+
type: "reasoning-effort";
|
|
33
|
+
effort: ReasoningEffort;
|
|
34
|
+
temperaturePolicy: TemperaturePolicy;
|
|
35
|
+
} | {
|
|
36
|
+
type: "anthropic-thinking";
|
|
37
|
+
thinking: {
|
|
38
|
+
type: "adaptive";
|
|
39
|
+
} | {
|
|
40
|
+
type: "enabled";
|
|
41
|
+
budget_tokens: number;
|
|
42
|
+
};
|
|
43
|
+
temperaturePolicy: "omit";
|
|
44
|
+
};
|
|
45
|
+
type ProviderModelMode<TProvider extends AIProvider> = TProvider extends "google" ? Extract<ModelMode, {
|
|
46
|
+
type: "google-thinking";
|
|
47
|
+
}> : TProvider extends "anthropic" ? Extract<ModelMode, {
|
|
48
|
+
type: "provider-default" | "anthropic-thinking";
|
|
49
|
+
}> : TProvider extends "openai" | "openrouter" ? Extract<ModelMode, {
|
|
50
|
+
type: "provider-default" | "reasoning-effort";
|
|
51
|
+
}> : Extract<ModelMode, {
|
|
52
|
+
type: "provider-default";
|
|
53
|
+
}>;
|
|
54
|
+
type ModelDefaultCandidate<TProvider extends AIProvider = AIProvider> = {
|
|
55
|
+
modelId: TProvider extends BYOKProvider ? BYOKModelIdByProvider[TProvider] : string;
|
|
56
|
+
mode: ProviderModelMode<TProvider>;
|
|
57
|
+
};
|
|
58
|
+
type ModelDefaultQuality = {
|
|
59
|
+
source: "seed";
|
|
60
|
+
measurement: {
|
|
61
|
+
status: "unmeasured";
|
|
62
|
+
} | {
|
|
63
|
+
status: "different-mode";
|
|
64
|
+
source: "external-benchmark";
|
|
65
|
+
modelId: string;
|
|
66
|
+
provider: AIProvider;
|
|
67
|
+
measuredMode: ModelMode;
|
|
68
|
+
};
|
|
69
|
+
} | {
|
|
70
|
+
source: "local-eval" | "same-weights" | "external-benchmark";
|
|
71
|
+
measurement: {
|
|
72
|
+
status: "matching-mode";
|
|
73
|
+
modelId: string;
|
|
74
|
+
provider: AIProvider;
|
|
75
|
+
measuredMode: ModelMode;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
type ModelDefaultRationale = {
|
|
79
|
+
rationaleKey: `organization.aiConfig.defaultRationale.${ModelOverrideGroup}`;
|
|
80
|
+
};
|
|
81
|
+
type SupportedModelDefaultEntry<TProvider extends AIProvider = AIProvider> = {
|
|
82
|
+
kind: "candidate";
|
|
83
|
+
candidate: ModelDefaultCandidate<TProvider>;
|
|
84
|
+
quality: ModelDefaultQuality;
|
|
85
|
+
rationale: ModelDefaultRationale;
|
|
86
|
+
};
|
|
87
|
+
type UnsupportedModelDefaultEntry = {
|
|
88
|
+
kind: "unsupported";
|
|
89
|
+
reason: "document-input-unsupported";
|
|
90
|
+
};
|
|
91
|
+
type ModelDefaultEntry = SupportedModelDefaultEntry | UnsupportedModelDefaultEntry;
|
|
92
|
+
type TaskProviderDefaults<TTask extends ModelTask> = { [TProvider in AIProvider]: TTask extends "pdf" ? TProvider extends "mistral" ? UnsupportedModelDefaultEntry : SupportedModelDefaultEntry<TProvider> : SupportedModelDefaultEntry<TProvider>; };
|
|
93
|
+
type ModelDefaultsLedger = { [TTask in ModelTask]: TaskProviderDefaults<TTask>; };
|
|
94
|
+
declare const MODEL_DEFAULTS_LEDGER: {
|
|
95
|
+
readonly chat: {
|
|
96
|
+
readonly google: {
|
|
97
|
+
readonly kind: "candidate";
|
|
98
|
+
readonly candidate: {
|
|
99
|
+
readonly modelId: "gemini-3.8-flash";
|
|
100
|
+
readonly mode: {
|
|
101
|
+
readonly type: "google-thinking";
|
|
102
|
+
readonly requestedEffort: "none";
|
|
103
|
+
readonly thinkingLevel: "LOW";
|
|
104
|
+
readonly temperaturePolicy: "omit";
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
readonly quality: {
|
|
108
|
+
readonly source: "seed";
|
|
109
|
+
readonly measurement: {
|
|
110
|
+
readonly status: "unmeasured";
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
readonly rationale: {
|
|
114
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
readonly openrouter: {
|
|
118
|
+
readonly kind: "candidate";
|
|
119
|
+
readonly candidate: {
|
|
120
|
+
readonly modelId: "openai/gpt-6-sol";
|
|
121
|
+
readonly mode: {
|
|
122
|
+
readonly type: "provider-default";
|
|
123
|
+
readonly temperaturePolicy: "omit";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
readonly quality: {
|
|
127
|
+
readonly source: "seed";
|
|
128
|
+
readonly measurement: {
|
|
129
|
+
readonly status: "unmeasured";
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
readonly rationale: {
|
|
133
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
readonly openai: {
|
|
137
|
+
readonly kind: "candidate";
|
|
138
|
+
readonly candidate: {
|
|
139
|
+
readonly modelId: "gpt-6-sol";
|
|
140
|
+
readonly mode: {
|
|
141
|
+
readonly type: "provider-default";
|
|
142
|
+
readonly temperaturePolicy: "omit";
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
readonly quality: {
|
|
146
|
+
readonly source: "seed";
|
|
147
|
+
readonly measurement: {
|
|
148
|
+
readonly status: "unmeasured";
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
readonly rationale: {
|
|
152
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
readonly azure_foundry: {
|
|
156
|
+
readonly kind: "candidate";
|
|
157
|
+
readonly candidate: {
|
|
158
|
+
readonly modelId: "gpt-5.6-terra";
|
|
159
|
+
readonly mode: {
|
|
160
|
+
readonly type: "provider-default";
|
|
161
|
+
readonly temperaturePolicy: "omit";
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
readonly quality: {
|
|
165
|
+
readonly source: "seed";
|
|
166
|
+
readonly measurement: {
|
|
167
|
+
readonly status: "unmeasured";
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
readonly rationale: {
|
|
171
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
readonly anthropic: {
|
|
175
|
+
readonly kind: "candidate";
|
|
176
|
+
readonly candidate: {
|
|
177
|
+
readonly modelId: "claude-opus-5-5";
|
|
178
|
+
readonly mode: {
|
|
179
|
+
readonly type: "provider-default";
|
|
180
|
+
readonly temperaturePolicy: "omit";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
readonly quality: {
|
|
184
|
+
readonly source: "seed";
|
|
185
|
+
readonly measurement: {
|
|
186
|
+
readonly status: "unmeasured";
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
readonly rationale: {
|
|
190
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
readonly bedrock: {
|
|
194
|
+
readonly kind: "candidate";
|
|
195
|
+
readonly candidate: {
|
|
196
|
+
readonly modelId: "us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
197
|
+
readonly mode: {
|
|
198
|
+
readonly type: "provider-default";
|
|
199
|
+
readonly temperaturePolicy: "emit";
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
readonly quality: {
|
|
203
|
+
readonly source: "seed";
|
|
204
|
+
readonly measurement: {
|
|
205
|
+
readonly status: "unmeasured";
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
readonly rationale: {
|
|
209
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
readonly mistral: {
|
|
213
|
+
readonly kind: "candidate";
|
|
214
|
+
readonly candidate: {
|
|
215
|
+
readonly modelId: "mistral-medium-latest";
|
|
216
|
+
readonly mode: {
|
|
217
|
+
readonly type: "provider-default";
|
|
218
|
+
readonly temperaturePolicy: "emit";
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
readonly quality: {
|
|
222
|
+
readonly source: "seed";
|
|
223
|
+
readonly measurement: {
|
|
224
|
+
readonly status: "unmeasured";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
readonly rationale: {
|
|
228
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
readonly openai_compatible: {
|
|
232
|
+
readonly kind: "candidate";
|
|
233
|
+
readonly candidate: {
|
|
234
|
+
readonly modelId: "default";
|
|
235
|
+
readonly mode: {
|
|
236
|
+
readonly type: "provider-default";
|
|
237
|
+
readonly temperaturePolicy: "omit";
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
readonly quality: {
|
|
241
|
+
readonly source: "seed";
|
|
242
|
+
readonly measurement: {
|
|
243
|
+
readonly status: "unmeasured";
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
readonly rationale: {
|
|
247
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
readonly huggingface: {
|
|
251
|
+
readonly kind: "candidate";
|
|
252
|
+
readonly candidate: {
|
|
253
|
+
readonly modelId: "speakleash/Bielik-11B-v2.3-Instruct";
|
|
254
|
+
readonly mode: {
|
|
255
|
+
readonly type: "provider-default";
|
|
256
|
+
readonly temperaturePolicy: "omit";
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
readonly quality: {
|
|
260
|
+
readonly source: "seed";
|
|
261
|
+
readonly measurement: {
|
|
262
|
+
readonly status: "unmeasured";
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
readonly rationale: {
|
|
266
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
readonly reasoning: {
|
|
271
|
+
readonly google: {
|
|
272
|
+
readonly kind: "candidate";
|
|
273
|
+
readonly candidate: {
|
|
274
|
+
readonly modelId: "gemini-3.8-flash";
|
|
275
|
+
readonly mode: {
|
|
276
|
+
readonly type: "google-thinking";
|
|
277
|
+
readonly requestedEffort: "high";
|
|
278
|
+
readonly thinkingLevel: "HIGH";
|
|
279
|
+
readonly temperaturePolicy: "omit";
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
readonly quality: {
|
|
283
|
+
readonly source: "seed";
|
|
284
|
+
readonly measurement: {
|
|
285
|
+
readonly status: "unmeasured";
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
readonly rationale: {
|
|
289
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.reasoning";
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
readonly openrouter: {
|
|
293
|
+
readonly kind: "candidate";
|
|
294
|
+
readonly candidate: {
|
|
295
|
+
readonly modelId: "openai/gpt-6-sol";
|
|
296
|
+
readonly mode: {
|
|
297
|
+
readonly type: "reasoning-effort";
|
|
298
|
+
readonly effort: "high";
|
|
299
|
+
readonly temperaturePolicy: "omit";
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
readonly quality: {
|
|
303
|
+
readonly source: "seed";
|
|
304
|
+
readonly measurement: {
|
|
305
|
+
readonly status: "unmeasured";
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
readonly rationale: {
|
|
309
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.reasoning";
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
readonly openai: {
|
|
313
|
+
readonly kind: "candidate";
|
|
314
|
+
readonly candidate: {
|
|
315
|
+
readonly modelId: "gpt-6-sol";
|
|
316
|
+
readonly mode: {
|
|
317
|
+
readonly type: "reasoning-effort";
|
|
318
|
+
readonly effort: "medium";
|
|
319
|
+
readonly temperaturePolicy: "omit";
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
readonly quality: {
|
|
323
|
+
readonly source: "seed";
|
|
324
|
+
readonly measurement: {
|
|
325
|
+
readonly status: "unmeasured";
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
readonly rationale: {
|
|
329
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.reasoning";
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
readonly azure_foundry: {
|
|
333
|
+
readonly kind: "candidate";
|
|
334
|
+
readonly candidate: {
|
|
335
|
+
readonly modelId: "gpt-5.6-terra";
|
|
336
|
+
readonly mode: {
|
|
337
|
+
readonly type: "provider-default";
|
|
338
|
+
readonly temperaturePolicy: "omit";
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
readonly quality: {
|
|
342
|
+
readonly source: "seed";
|
|
343
|
+
readonly measurement: {
|
|
344
|
+
readonly status: "unmeasured";
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
readonly rationale: {
|
|
348
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.reasoning";
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
readonly anthropic: {
|
|
352
|
+
readonly kind: "candidate";
|
|
353
|
+
readonly candidate: {
|
|
354
|
+
readonly modelId: "claude-opus-5-5";
|
|
355
|
+
readonly mode: {
|
|
356
|
+
readonly type: "anthropic-thinking";
|
|
357
|
+
readonly thinking: {
|
|
358
|
+
readonly type: "adaptive";
|
|
359
|
+
};
|
|
360
|
+
readonly temperaturePolicy: "omit";
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
readonly quality: {
|
|
364
|
+
readonly source: "seed";
|
|
365
|
+
readonly measurement: {
|
|
366
|
+
readonly status: "unmeasured";
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
readonly rationale: {
|
|
370
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.reasoning";
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
readonly bedrock: {
|
|
374
|
+
readonly kind: "candidate";
|
|
375
|
+
readonly candidate: {
|
|
376
|
+
readonly modelId: "us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
377
|
+
readonly mode: {
|
|
378
|
+
readonly type: "provider-default";
|
|
379
|
+
readonly temperaturePolicy: "emit";
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
readonly quality: {
|
|
383
|
+
readonly source: "seed";
|
|
384
|
+
readonly measurement: {
|
|
385
|
+
readonly status: "unmeasured";
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
readonly rationale: {
|
|
389
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.reasoning";
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
readonly mistral: {
|
|
393
|
+
readonly kind: "candidate";
|
|
394
|
+
readonly candidate: {
|
|
395
|
+
readonly modelId: "mistral-medium-latest";
|
|
396
|
+
readonly mode: {
|
|
397
|
+
readonly type: "provider-default";
|
|
398
|
+
readonly temperaturePolicy: "emit";
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
readonly quality: {
|
|
402
|
+
readonly source: "seed";
|
|
403
|
+
readonly measurement: {
|
|
404
|
+
readonly status: "unmeasured";
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
readonly rationale: {
|
|
408
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.reasoning";
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
readonly openai_compatible: {
|
|
412
|
+
readonly kind: "candidate";
|
|
413
|
+
readonly candidate: {
|
|
414
|
+
readonly modelId: "default";
|
|
415
|
+
readonly mode: {
|
|
416
|
+
readonly type: "provider-default";
|
|
417
|
+
readonly temperaturePolicy: "omit";
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
readonly quality: {
|
|
421
|
+
readonly source: "seed";
|
|
422
|
+
readonly measurement: {
|
|
423
|
+
readonly status: "unmeasured";
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
readonly rationale: {
|
|
427
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.reasoning";
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
readonly huggingface: {
|
|
431
|
+
readonly kind: "candidate";
|
|
432
|
+
readonly candidate: {
|
|
433
|
+
readonly modelId: "speakleash/Bielik-11B-v2.3-Instruct";
|
|
434
|
+
readonly mode: {
|
|
435
|
+
readonly type: "provider-default";
|
|
436
|
+
readonly temperaturePolicy: "omit";
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
readonly quality: {
|
|
440
|
+
readonly source: "seed";
|
|
441
|
+
readonly measurement: {
|
|
442
|
+
readonly status: "unmeasured";
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
readonly rationale: {
|
|
446
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.reasoning";
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
readonly analysis: {
|
|
451
|
+
readonly google: {
|
|
452
|
+
readonly kind: "candidate";
|
|
453
|
+
readonly candidate: {
|
|
454
|
+
readonly modelId: "gemini-3.8-flash";
|
|
455
|
+
readonly mode: {
|
|
456
|
+
readonly type: "google-thinking";
|
|
457
|
+
readonly requestedEffort: "none";
|
|
458
|
+
readonly thinkingLevel: "LOW";
|
|
459
|
+
readonly temperaturePolicy: "omit";
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
readonly quality: {
|
|
463
|
+
readonly source: "seed";
|
|
464
|
+
readonly measurement: {
|
|
465
|
+
readonly status: "unmeasured";
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
readonly rationale: {
|
|
469
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
readonly openrouter: {
|
|
473
|
+
readonly kind: "candidate";
|
|
474
|
+
readonly candidate: {
|
|
475
|
+
readonly modelId: "openai/gpt-6-sol";
|
|
476
|
+
readonly mode: {
|
|
477
|
+
readonly type: "provider-default";
|
|
478
|
+
readonly temperaturePolicy: "omit";
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
readonly quality: {
|
|
482
|
+
readonly source: "seed";
|
|
483
|
+
readonly measurement: {
|
|
484
|
+
readonly status: "unmeasured";
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
readonly rationale: {
|
|
488
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
readonly openai: {
|
|
492
|
+
readonly kind: "candidate";
|
|
493
|
+
readonly candidate: {
|
|
494
|
+
readonly modelId: "gpt-6-sol";
|
|
495
|
+
readonly mode: {
|
|
496
|
+
readonly type: "provider-default";
|
|
497
|
+
readonly temperaturePolicy: "omit";
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
readonly quality: {
|
|
501
|
+
readonly source: "seed";
|
|
502
|
+
readonly measurement: {
|
|
503
|
+
readonly status: "unmeasured";
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
readonly rationale: {
|
|
507
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
readonly azure_foundry: {
|
|
511
|
+
readonly kind: "candidate";
|
|
512
|
+
readonly candidate: {
|
|
513
|
+
readonly modelId: "gpt-5.6-terra";
|
|
514
|
+
readonly mode: {
|
|
515
|
+
readonly type: "provider-default";
|
|
516
|
+
readonly temperaturePolicy: "omit";
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
readonly quality: {
|
|
520
|
+
readonly source: "seed";
|
|
521
|
+
readonly measurement: {
|
|
522
|
+
readonly status: "unmeasured";
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
readonly rationale: {
|
|
526
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
readonly anthropic: {
|
|
530
|
+
readonly kind: "candidate";
|
|
531
|
+
readonly candidate: {
|
|
532
|
+
readonly modelId: "claude-opus-5-5";
|
|
533
|
+
readonly mode: {
|
|
534
|
+
readonly type: "provider-default";
|
|
535
|
+
readonly temperaturePolicy: "omit";
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
readonly quality: {
|
|
539
|
+
readonly source: "seed";
|
|
540
|
+
readonly measurement: {
|
|
541
|
+
readonly status: "unmeasured";
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
readonly rationale: {
|
|
545
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
readonly bedrock: {
|
|
549
|
+
readonly kind: "candidate";
|
|
550
|
+
readonly candidate: {
|
|
551
|
+
readonly modelId: "us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
552
|
+
readonly mode: {
|
|
553
|
+
readonly type: "provider-default";
|
|
554
|
+
readonly temperaturePolicy: "emit";
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
readonly quality: {
|
|
558
|
+
readonly source: "seed";
|
|
559
|
+
readonly measurement: {
|
|
560
|
+
readonly status: "unmeasured";
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
readonly rationale: {
|
|
564
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
readonly mistral: {
|
|
568
|
+
readonly kind: "candidate";
|
|
569
|
+
readonly candidate: {
|
|
570
|
+
readonly modelId: "mistral-medium-latest";
|
|
571
|
+
readonly mode: {
|
|
572
|
+
readonly type: "provider-default";
|
|
573
|
+
readonly temperaturePolicy: "emit";
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
readonly quality: {
|
|
577
|
+
readonly source: "seed";
|
|
578
|
+
readonly measurement: {
|
|
579
|
+
readonly status: "unmeasured";
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
readonly rationale: {
|
|
583
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
readonly openai_compatible: {
|
|
587
|
+
readonly kind: "candidate";
|
|
588
|
+
readonly candidate: {
|
|
589
|
+
readonly modelId: "default";
|
|
590
|
+
readonly mode: {
|
|
591
|
+
readonly type: "provider-default";
|
|
592
|
+
readonly temperaturePolicy: "omit";
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
readonly quality: {
|
|
596
|
+
readonly source: "seed";
|
|
597
|
+
readonly measurement: {
|
|
598
|
+
readonly status: "unmeasured";
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
readonly rationale: {
|
|
602
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
readonly huggingface: {
|
|
606
|
+
readonly kind: "candidate";
|
|
607
|
+
readonly candidate: {
|
|
608
|
+
readonly modelId: "speakleash/Bielik-11B-v2.3-Instruct";
|
|
609
|
+
readonly mode: {
|
|
610
|
+
readonly type: "provider-default";
|
|
611
|
+
readonly temperaturePolicy: "omit";
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
readonly quality: {
|
|
615
|
+
readonly source: "seed";
|
|
616
|
+
readonly measurement: {
|
|
617
|
+
readonly status: "unmeasured";
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
readonly rationale: {
|
|
621
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.chat";
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
readonly pdf: {
|
|
626
|
+
readonly google: {
|
|
627
|
+
readonly kind: "candidate";
|
|
628
|
+
readonly candidate: {
|
|
629
|
+
readonly modelId: "gemini-3.8-flash";
|
|
630
|
+
readonly mode: {
|
|
631
|
+
readonly type: "google-thinking";
|
|
632
|
+
readonly requestedEffort: "none";
|
|
633
|
+
readonly thinkingLevel: "LOW";
|
|
634
|
+
readonly temperaturePolicy: "omit";
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
readonly quality: {
|
|
638
|
+
readonly source: "seed";
|
|
639
|
+
readonly measurement: {
|
|
640
|
+
readonly status: "unmeasured";
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
readonly rationale: {
|
|
644
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.pdf";
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
readonly openrouter: {
|
|
648
|
+
readonly kind: "candidate";
|
|
649
|
+
readonly candidate: {
|
|
650
|
+
readonly modelId: "openai/gpt-6-sol";
|
|
651
|
+
readonly mode: {
|
|
652
|
+
readonly type: "provider-default";
|
|
653
|
+
readonly temperaturePolicy: "omit";
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
readonly quality: {
|
|
657
|
+
readonly source: "seed";
|
|
658
|
+
readonly measurement: {
|
|
659
|
+
readonly status: "unmeasured";
|
|
660
|
+
};
|
|
661
|
+
};
|
|
662
|
+
readonly rationale: {
|
|
663
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.pdf";
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
readonly openai: {
|
|
667
|
+
readonly kind: "candidate";
|
|
668
|
+
readonly candidate: {
|
|
669
|
+
readonly modelId: "gpt-6-sol";
|
|
670
|
+
readonly mode: {
|
|
671
|
+
readonly type: "provider-default";
|
|
672
|
+
readonly temperaturePolicy: "omit";
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
readonly quality: {
|
|
676
|
+
readonly source: "seed";
|
|
677
|
+
readonly measurement: {
|
|
678
|
+
readonly status: "unmeasured";
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
readonly rationale: {
|
|
682
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.pdf";
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
readonly azure_foundry: {
|
|
686
|
+
readonly kind: "candidate";
|
|
687
|
+
readonly candidate: {
|
|
688
|
+
readonly modelId: "gpt-5.6-terra";
|
|
689
|
+
readonly mode: {
|
|
690
|
+
readonly type: "provider-default";
|
|
691
|
+
readonly temperaturePolicy: "omit";
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
readonly quality: {
|
|
695
|
+
readonly source: "seed";
|
|
696
|
+
readonly measurement: {
|
|
697
|
+
readonly status: "unmeasured";
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
readonly rationale: {
|
|
701
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.pdf";
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
readonly anthropic: {
|
|
705
|
+
readonly kind: "candidate";
|
|
706
|
+
readonly candidate: {
|
|
707
|
+
readonly modelId: "claude-opus-5-5";
|
|
708
|
+
readonly mode: {
|
|
709
|
+
readonly type: "provider-default";
|
|
710
|
+
readonly temperaturePolicy: "omit";
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
readonly quality: {
|
|
714
|
+
readonly source: "seed";
|
|
715
|
+
readonly measurement: {
|
|
716
|
+
readonly status: "unmeasured";
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
readonly rationale: {
|
|
720
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.pdf";
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
readonly bedrock: {
|
|
724
|
+
readonly kind: "candidate";
|
|
725
|
+
readonly candidate: {
|
|
726
|
+
readonly modelId: "us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
727
|
+
readonly mode: {
|
|
728
|
+
readonly type: "provider-default";
|
|
729
|
+
readonly temperaturePolicy: "emit";
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
readonly quality: {
|
|
733
|
+
readonly source: "seed";
|
|
734
|
+
readonly measurement: {
|
|
735
|
+
readonly status: "unmeasured";
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
readonly rationale: {
|
|
739
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.pdf";
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
readonly mistral: {
|
|
743
|
+
readonly kind: "unsupported";
|
|
744
|
+
readonly reason: "document-input-unsupported";
|
|
745
|
+
};
|
|
746
|
+
readonly openai_compatible: {
|
|
747
|
+
readonly kind: "candidate";
|
|
748
|
+
readonly candidate: {
|
|
749
|
+
readonly modelId: "default";
|
|
750
|
+
readonly mode: {
|
|
751
|
+
readonly type: "provider-default";
|
|
752
|
+
readonly temperaturePolicy: "omit";
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
readonly quality: {
|
|
756
|
+
readonly source: "seed";
|
|
757
|
+
readonly measurement: {
|
|
758
|
+
readonly status: "unmeasured";
|
|
759
|
+
};
|
|
760
|
+
};
|
|
761
|
+
readonly rationale: {
|
|
762
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.pdf";
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
readonly huggingface: {
|
|
766
|
+
readonly kind: "candidate";
|
|
767
|
+
readonly candidate: {
|
|
768
|
+
readonly modelId: "speakleash/Bielik-11B-v2.3-Instruct";
|
|
769
|
+
readonly mode: {
|
|
770
|
+
readonly type: "provider-default";
|
|
771
|
+
readonly temperaturePolicy: "omit";
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
readonly quality: {
|
|
775
|
+
readonly source: "seed";
|
|
776
|
+
readonly measurement: {
|
|
777
|
+
readonly status: "unmeasured";
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
readonly rationale: {
|
|
781
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.pdf";
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
readonly "search-expand": {
|
|
786
|
+
readonly google: {
|
|
787
|
+
readonly kind: "candidate";
|
|
788
|
+
readonly candidate: {
|
|
789
|
+
readonly modelId: "gemini-3.8-flash";
|
|
790
|
+
readonly mode: {
|
|
791
|
+
readonly type: "google-thinking";
|
|
792
|
+
readonly requestedEffort: "none";
|
|
793
|
+
readonly thinkingLevel: "LOW";
|
|
794
|
+
readonly temperaturePolicy: "omit";
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
readonly quality: {
|
|
798
|
+
readonly source: "seed";
|
|
799
|
+
readonly measurement: {
|
|
800
|
+
readonly status: "unmeasured";
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
readonly rationale: {
|
|
804
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
805
|
+
};
|
|
806
|
+
};
|
|
807
|
+
readonly openrouter: {
|
|
808
|
+
readonly kind: "candidate";
|
|
809
|
+
readonly candidate: {
|
|
810
|
+
readonly modelId: "anthropic/claude-haiku-5.5";
|
|
811
|
+
readonly mode: {
|
|
812
|
+
readonly type: "reasoning-effort";
|
|
813
|
+
readonly effort: "none";
|
|
814
|
+
readonly temperaturePolicy: "omit";
|
|
815
|
+
};
|
|
816
|
+
};
|
|
817
|
+
readonly quality: {
|
|
818
|
+
readonly source: "seed";
|
|
819
|
+
readonly measurement: {
|
|
820
|
+
readonly status: "unmeasured";
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
readonly rationale: {
|
|
824
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
readonly openai: {
|
|
828
|
+
readonly kind: "candidate";
|
|
829
|
+
readonly candidate: {
|
|
830
|
+
readonly modelId: "gpt-6-luna";
|
|
831
|
+
readonly mode: {
|
|
832
|
+
readonly type: "provider-default";
|
|
833
|
+
readonly temperaturePolicy: "omit";
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
readonly quality: {
|
|
837
|
+
readonly source: "seed";
|
|
838
|
+
readonly measurement: {
|
|
839
|
+
readonly status: "unmeasured";
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
readonly rationale: {
|
|
843
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
readonly azure_foundry: {
|
|
847
|
+
readonly kind: "candidate";
|
|
848
|
+
readonly candidate: {
|
|
849
|
+
readonly modelId: "gpt-5.6-luna";
|
|
850
|
+
readonly mode: {
|
|
851
|
+
readonly type: "provider-default";
|
|
852
|
+
readonly temperaturePolicy: "omit";
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
readonly quality: {
|
|
856
|
+
readonly source: "seed";
|
|
857
|
+
readonly measurement: {
|
|
858
|
+
readonly status: "unmeasured";
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
readonly rationale: {
|
|
862
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
863
|
+
};
|
|
864
|
+
};
|
|
865
|
+
readonly anthropic: {
|
|
866
|
+
readonly kind: "candidate";
|
|
867
|
+
readonly candidate: {
|
|
868
|
+
readonly modelId: "claude-haiku-5-5";
|
|
869
|
+
readonly mode: {
|
|
870
|
+
readonly type: "provider-default";
|
|
871
|
+
readonly temperaturePolicy: "omit";
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
readonly quality: {
|
|
875
|
+
readonly source: "seed";
|
|
876
|
+
readonly measurement: {
|
|
877
|
+
readonly status: "unmeasured";
|
|
878
|
+
};
|
|
879
|
+
};
|
|
880
|
+
readonly rationale: {
|
|
881
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
882
|
+
};
|
|
883
|
+
};
|
|
884
|
+
readonly bedrock: {
|
|
885
|
+
readonly kind: "candidate";
|
|
886
|
+
readonly candidate: {
|
|
887
|
+
readonly modelId: "us.anthropic.claude-haiku-5-5";
|
|
888
|
+
readonly mode: {
|
|
889
|
+
readonly type: "provider-default";
|
|
890
|
+
readonly temperaturePolicy: "omit";
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
readonly quality: {
|
|
894
|
+
readonly source: "seed";
|
|
895
|
+
readonly measurement: {
|
|
896
|
+
readonly status: "unmeasured";
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
readonly rationale: {
|
|
900
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
901
|
+
};
|
|
902
|
+
};
|
|
903
|
+
readonly mistral: {
|
|
904
|
+
readonly kind: "candidate";
|
|
905
|
+
readonly candidate: {
|
|
906
|
+
readonly modelId: "mistral-small-latest";
|
|
907
|
+
readonly mode: {
|
|
908
|
+
readonly type: "provider-default";
|
|
909
|
+
readonly temperaturePolicy: "emit";
|
|
910
|
+
};
|
|
911
|
+
};
|
|
912
|
+
readonly quality: {
|
|
913
|
+
readonly source: "seed";
|
|
914
|
+
readonly measurement: {
|
|
915
|
+
readonly status: "unmeasured";
|
|
916
|
+
};
|
|
917
|
+
};
|
|
918
|
+
readonly rationale: {
|
|
919
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
readonly openai_compatible: {
|
|
923
|
+
readonly kind: "candidate";
|
|
924
|
+
readonly candidate: {
|
|
925
|
+
readonly modelId: "default";
|
|
926
|
+
readonly mode: {
|
|
927
|
+
readonly type: "provider-default";
|
|
928
|
+
readonly temperaturePolicy: "omit";
|
|
929
|
+
};
|
|
930
|
+
};
|
|
931
|
+
readonly quality: {
|
|
932
|
+
readonly source: "seed";
|
|
933
|
+
readonly measurement: {
|
|
934
|
+
readonly status: "unmeasured";
|
|
935
|
+
};
|
|
936
|
+
};
|
|
937
|
+
readonly rationale: {
|
|
938
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
939
|
+
};
|
|
940
|
+
};
|
|
941
|
+
readonly huggingface: {
|
|
942
|
+
readonly kind: "candidate";
|
|
943
|
+
readonly candidate: {
|
|
944
|
+
readonly modelId: "speakleash/Bielik-1.5B-v3.0-Instruct";
|
|
945
|
+
readonly mode: {
|
|
946
|
+
readonly type: "provider-default";
|
|
947
|
+
readonly temperaturePolicy: "omit";
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
readonly quality: {
|
|
951
|
+
readonly source: "seed";
|
|
952
|
+
readonly measurement: {
|
|
953
|
+
readonly status: "unmeasured";
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
readonly rationale: {
|
|
957
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
readonly classify: {
|
|
962
|
+
readonly google: {
|
|
963
|
+
readonly kind: "candidate";
|
|
964
|
+
readonly candidate: {
|
|
965
|
+
readonly modelId: "gemini-3.8-flash";
|
|
966
|
+
readonly mode: {
|
|
967
|
+
readonly type: "google-thinking";
|
|
968
|
+
readonly requestedEffort: "none";
|
|
969
|
+
readonly thinkingLevel: "LOW";
|
|
970
|
+
readonly temperaturePolicy: "omit";
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
readonly quality: {
|
|
974
|
+
readonly source: "seed";
|
|
975
|
+
readonly measurement: {
|
|
976
|
+
readonly status: "unmeasured";
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
readonly rationale: {
|
|
980
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
981
|
+
};
|
|
982
|
+
};
|
|
983
|
+
readonly openrouter: {
|
|
984
|
+
readonly kind: "candidate";
|
|
985
|
+
readonly candidate: {
|
|
986
|
+
readonly modelId: "anthropic/claude-haiku-5.5";
|
|
987
|
+
readonly mode: {
|
|
988
|
+
readonly type: "reasoning-effort";
|
|
989
|
+
readonly effort: "none";
|
|
990
|
+
readonly temperaturePolicy: "omit";
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
|
+
readonly quality: {
|
|
994
|
+
readonly source: "seed";
|
|
995
|
+
readonly measurement: {
|
|
996
|
+
readonly status: "unmeasured";
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
readonly rationale: {
|
|
1000
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
readonly openai: {
|
|
1004
|
+
readonly kind: "candidate";
|
|
1005
|
+
readonly candidate: {
|
|
1006
|
+
readonly modelId: "gpt-6-luna";
|
|
1007
|
+
readonly mode: {
|
|
1008
|
+
readonly type: "provider-default";
|
|
1009
|
+
readonly temperaturePolicy: "omit";
|
|
1010
|
+
};
|
|
1011
|
+
};
|
|
1012
|
+
readonly quality: {
|
|
1013
|
+
readonly source: "seed";
|
|
1014
|
+
readonly measurement: {
|
|
1015
|
+
readonly status: "unmeasured";
|
|
1016
|
+
};
|
|
1017
|
+
};
|
|
1018
|
+
readonly rationale: {
|
|
1019
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
1022
|
+
readonly azure_foundry: {
|
|
1023
|
+
readonly kind: "candidate";
|
|
1024
|
+
readonly candidate: {
|
|
1025
|
+
readonly modelId: "gpt-5.6-luna";
|
|
1026
|
+
readonly mode: {
|
|
1027
|
+
readonly type: "provider-default";
|
|
1028
|
+
readonly temperaturePolicy: "omit";
|
|
1029
|
+
};
|
|
1030
|
+
};
|
|
1031
|
+
readonly quality: {
|
|
1032
|
+
readonly source: "seed";
|
|
1033
|
+
readonly measurement: {
|
|
1034
|
+
readonly status: "unmeasured";
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
1037
|
+
readonly rationale: {
|
|
1038
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
readonly anthropic: {
|
|
1042
|
+
readonly kind: "candidate";
|
|
1043
|
+
readonly candidate: {
|
|
1044
|
+
readonly modelId: "claude-haiku-5-5";
|
|
1045
|
+
readonly mode: {
|
|
1046
|
+
readonly type: "provider-default";
|
|
1047
|
+
readonly temperaturePolicy: "omit";
|
|
1048
|
+
};
|
|
1049
|
+
};
|
|
1050
|
+
readonly quality: {
|
|
1051
|
+
readonly source: "seed";
|
|
1052
|
+
readonly measurement: {
|
|
1053
|
+
readonly status: "unmeasured";
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
readonly rationale: {
|
|
1057
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1058
|
+
};
|
|
1059
|
+
};
|
|
1060
|
+
readonly bedrock: {
|
|
1061
|
+
readonly kind: "candidate";
|
|
1062
|
+
readonly candidate: {
|
|
1063
|
+
readonly modelId: "us.anthropic.claude-haiku-5-5";
|
|
1064
|
+
readonly mode: {
|
|
1065
|
+
readonly type: "provider-default";
|
|
1066
|
+
readonly temperaturePolicy: "omit";
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
readonly quality: {
|
|
1070
|
+
readonly source: "seed";
|
|
1071
|
+
readonly measurement: {
|
|
1072
|
+
readonly status: "unmeasured";
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1075
|
+
readonly rationale: {
|
|
1076
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
readonly mistral: {
|
|
1080
|
+
readonly kind: "candidate";
|
|
1081
|
+
readonly candidate: {
|
|
1082
|
+
readonly modelId: "mistral-small-latest";
|
|
1083
|
+
readonly mode: {
|
|
1084
|
+
readonly type: "provider-default";
|
|
1085
|
+
readonly temperaturePolicy: "emit";
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
readonly quality: {
|
|
1089
|
+
readonly source: "seed";
|
|
1090
|
+
readonly measurement: {
|
|
1091
|
+
readonly status: "unmeasured";
|
|
1092
|
+
};
|
|
1093
|
+
};
|
|
1094
|
+
readonly rationale: {
|
|
1095
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1096
|
+
};
|
|
1097
|
+
};
|
|
1098
|
+
readonly openai_compatible: {
|
|
1099
|
+
readonly kind: "candidate";
|
|
1100
|
+
readonly candidate: {
|
|
1101
|
+
readonly modelId: "default";
|
|
1102
|
+
readonly mode: {
|
|
1103
|
+
readonly type: "provider-default";
|
|
1104
|
+
readonly temperaturePolicy: "omit";
|
|
1105
|
+
};
|
|
1106
|
+
};
|
|
1107
|
+
readonly quality: {
|
|
1108
|
+
readonly source: "seed";
|
|
1109
|
+
readonly measurement: {
|
|
1110
|
+
readonly status: "unmeasured";
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1113
|
+
readonly rationale: {
|
|
1114
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
readonly huggingface: {
|
|
1118
|
+
readonly kind: "candidate";
|
|
1119
|
+
readonly candidate: {
|
|
1120
|
+
readonly modelId: "speakleash/Bielik-1.5B-v3.0-Instruct";
|
|
1121
|
+
readonly mode: {
|
|
1122
|
+
readonly type: "provider-default";
|
|
1123
|
+
readonly temperaturePolicy: "omit";
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
readonly quality: {
|
|
1127
|
+
readonly source: "seed";
|
|
1128
|
+
readonly measurement: {
|
|
1129
|
+
readonly status: "unmeasured";
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
readonly rationale: {
|
|
1133
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
};
|
|
1137
|
+
readonly "short-text": {
|
|
1138
|
+
readonly google: {
|
|
1139
|
+
readonly kind: "candidate";
|
|
1140
|
+
readonly candidate: {
|
|
1141
|
+
readonly modelId: "gemini-3.8-flash";
|
|
1142
|
+
readonly mode: {
|
|
1143
|
+
readonly type: "google-thinking";
|
|
1144
|
+
readonly requestedEffort: "none";
|
|
1145
|
+
readonly thinkingLevel: "LOW";
|
|
1146
|
+
readonly temperaturePolicy: "omit";
|
|
1147
|
+
};
|
|
1148
|
+
};
|
|
1149
|
+
readonly quality: {
|
|
1150
|
+
readonly source: "seed";
|
|
1151
|
+
readonly measurement: {
|
|
1152
|
+
readonly status: "unmeasured";
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
readonly rationale: {
|
|
1156
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1159
|
+
readonly openrouter: {
|
|
1160
|
+
readonly kind: "candidate";
|
|
1161
|
+
readonly candidate: {
|
|
1162
|
+
readonly modelId: "anthropic/claude-haiku-5.5";
|
|
1163
|
+
readonly mode: {
|
|
1164
|
+
readonly type: "reasoning-effort";
|
|
1165
|
+
readonly effort: "none";
|
|
1166
|
+
readonly temperaturePolicy: "omit";
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
readonly quality: {
|
|
1170
|
+
readonly source: "seed";
|
|
1171
|
+
readonly measurement: {
|
|
1172
|
+
readonly status: "unmeasured";
|
|
1173
|
+
};
|
|
1174
|
+
};
|
|
1175
|
+
readonly rationale: {
|
|
1176
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1177
|
+
};
|
|
1178
|
+
};
|
|
1179
|
+
readonly openai: {
|
|
1180
|
+
readonly kind: "candidate";
|
|
1181
|
+
readonly candidate: {
|
|
1182
|
+
readonly modelId: "gpt-6-luna";
|
|
1183
|
+
readonly mode: {
|
|
1184
|
+
readonly type: "provider-default";
|
|
1185
|
+
readonly temperaturePolicy: "omit";
|
|
1186
|
+
};
|
|
1187
|
+
};
|
|
1188
|
+
readonly quality: {
|
|
1189
|
+
readonly source: "seed";
|
|
1190
|
+
readonly measurement: {
|
|
1191
|
+
readonly status: "unmeasured";
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1194
|
+
readonly rationale: {
|
|
1195
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
readonly azure_foundry: {
|
|
1199
|
+
readonly kind: "candidate";
|
|
1200
|
+
readonly candidate: {
|
|
1201
|
+
readonly modelId: "gpt-5.6-luna";
|
|
1202
|
+
readonly mode: {
|
|
1203
|
+
readonly type: "provider-default";
|
|
1204
|
+
readonly temperaturePolicy: "omit";
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
readonly quality: {
|
|
1208
|
+
readonly source: "seed";
|
|
1209
|
+
readonly measurement: {
|
|
1210
|
+
readonly status: "unmeasured";
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
readonly rationale: {
|
|
1214
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
readonly anthropic: {
|
|
1218
|
+
readonly kind: "candidate";
|
|
1219
|
+
readonly candidate: {
|
|
1220
|
+
readonly modelId: "claude-haiku-5-5";
|
|
1221
|
+
readonly mode: {
|
|
1222
|
+
readonly type: "provider-default";
|
|
1223
|
+
readonly temperaturePolicy: "omit";
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
readonly quality: {
|
|
1227
|
+
readonly source: "seed";
|
|
1228
|
+
readonly measurement: {
|
|
1229
|
+
readonly status: "unmeasured";
|
|
1230
|
+
};
|
|
1231
|
+
};
|
|
1232
|
+
readonly rationale: {
|
|
1233
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
readonly bedrock: {
|
|
1237
|
+
readonly kind: "candidate";
|
|
1238
|
+
readonly candidate: {
|
|
1239
|
+
readonly modelId: "us.anthropic.claude-haiku-5-5";
|
|
1240
|
+
readonly mode: {
|
|
1241
|
+
readonly type: "provider-default";
|
|
1242
|
+
readonly temperaturePolicy: "omit";
|
|
1243
|
+
};
|
|
1244
|
+
};
|
|
1245
|
+
readonly quality: {
|
|
1246
|
+
readonly source: "seed";
|
|
1247
|
+
readonly measurement: {
|
|
1248
|
+
readonly status: "unmeasured";
|
|
1249
|
+
};
|
|
1250
|
+
};
|
|
1251
|
+
readonly rationale: {
|
|
1252
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1253
|
+
};
|
|
1254
|
+
};
|
|
1255
|
+
readonly mistral: {
|
|
1256
|
+
readonly kind: "candidate";
|
|
1257
|
+
readonly candidate: {
|
|
1258
|
+
readonly modelId: "mistral-small-latest";
|
|
1259
|
+
readonly mode: {
|
|
1260
|
+
readonly type: "provider-default";
|
|
1261
|
+
readonly temperaturePolicy: "emit";
|
|
1262
|
+
};
|
|
1263
|
+
};
|
|
1264
|
+
readonly quality: {
|
|
1265
|
+
readonly source: "seed";
|
|
1266
|
+
readonly measurement: {
|
|
1267
|
+
readonly status: "unmeasured";
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
readonly rationale: {
|
|
1271
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
readonly openai_compatible: {
|
|
1275
|
+
readonly kind: "candidate";
|
|
1276
|
+
readonly candidate: {
|
|
1277
|
+
readonly modelId: "default";
|
|
1278
|
+
readonly mode: {
|
|
1279
|
+
readonly type: "provider-default";
|
|
1280
|
+
readonly temperaturePolicy: "omit";
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
readonly quality: {
|
|
1284
|
+
readonly source: "seed";
|
|
1285
|
+
readonly measurement: {
|
|
1286
|
+
readonly status: "unmeasured";
|
|
1287
|
+
};
|
|
1288
|
+
};
|
|
1289
|
+
readonly rationale: {
|
|
1290
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1291
|
+
};
|
|
1292
|
+
};
|
|
1293
|
+
readonly huggingface: {
|
|
1294
|
+
readonly kind: "candidate";
|
|
1295
|
+
readonly candidate: {
|
|
1296
|
+
readonly modelId: "speakleash/Bielik-1.5B-v3.0-Instruct";
|
|
1297
|
+
readonly mode: {
|
|
1298
|
+
readonly type: "provider-default";
|
|
1299
|
+
readonly temperaturePolicy: "omit";
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
readonly quality: {
|
|
1303
|
+
readonly source: "seed";
|
|
1304
|
+
readonly measurement: {
|
|
1305
|
+
readonly status: "unmeasured";
|
|
1306
|
+
};
|
|
1307
|
+
};
|
|
1308
|
+
readonly rationale: {
|
|
1309
|
+
readonly rationaleKey: "organization.aiConfig.defaultRationale.fast";
|
|
1310
|
+
};
|
|
1311
|
+
};
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
type ResolvedDefaultModel<TProvider extends AIProvider = AIProvider> = {
|
|
1315
|
+
provider: TProvider;
|
|
1316
|
+
modelId: string;
|
|
1317
|
+
mode: ModelMode;
|
|
1318
|
+
};
|
|
1319
|
+
type ResolveDefaultModelOptions<TProvider extends AIProvider> = {
|
|
1320
|
+
task: ModelTask;
|
|
1321
|
+
orgProviders: readonly TProvider[];
|
|
1322
|
+
};
|
|
1323
|
+
/** Seeded defaults preserve the configured provider order. */
|
|
1324
|
+
declare const resolveDefaultModel: <TProvider extends AIProvider>({ task, orgProviders }: ResolveDefaultModelOptions<TProvider>) => ResolvedDefaultModel<TProvider> | null;
|
|
1325
|
+
/** Settings groups are a presentation of task defaults, not a second selection policy. */
|
|
1326
|
+
declare const resolveDefaultOverrideModels: <TProvider extends AIProvider>(orgProviders: readonly TProvider[]) => {
|
|
1327
|
+
fast: {
|
|
1328
|
+
provider: TProvider;
|
|
1329
|
+
modelId: string;
|
|
1330
|
+
} | null;
|
|
1331
|
+
chat: {
|
|
1332
|
+
provider: TProvider;
|
|
1333
|
+
modelId: string;
|
|
1334
|
+
} | null;
|
|
1335
|
+
reasoning: {
|
|
1336
|
+
provider: TProvider;
|
|
1337
|
+
modelId: string;
|
|
1338
|
+
} | null;
|
|
1339
|
+
pdf: {
|
|
1340
|
+
provider: TProvider;
|
|
1341
|
+
modelId: string;
|
|
1342
|
+
} | null;
|
|
1343
|
+
};
|
|
1344
|
+
//#endregion
|
|
2
1345
|
//#region src/model-rate.d.ts
|
|
3
1346
|
/**
|
|
4
1347
|
* models.dev publishes USD prices per one million tokens. Stella stores the
|
|
@@ -1643,7 +2986,7 @@ declare const MODEL_OUTPUT_TOKEN_LIMITS: {
|
|
|
1643
2986
|
readonly "openai/gpt-5.6-sol": 128000;
|
|
1644
2987
|
readonly "openai/gpt-5.6-terra": 128000;
|
|
1645
2988
|
readonly "openai/gpt-5.6-luna": 128000;
|
|
1646
|
-
readonly "google/gemini-4-argon":
|
|
2989
|
+
readonly "google/gemini-4-argon": 943718;
|
|
1647
2990
|
readonly "google/gemini-3.8-flash": 65536;
|
|
1648
2991
|
readonly "google/gemini-3.7-flash": 65536;
|
|
1649
2992
|
readonly "google/gemini-3.6-flash": 65536;
|
|
@@ -1698,17 +3041,6 @@ declare const MODEL_OUTPUT_TOKEN_LIMITS: {
|
|
|
1698
3041
|
};
|
|
1699
3042
|
//#endregion
|
|
1700
3043
|
//#region src/index.d.ts
|
|
1701
|
-
/**
|
|
1702
|
-
* Logical model roles. Call sites declare *what* they need, not
|
|
1703
|
-
* *which* model to use.
|
|
1704
|
-
*
|
|
1705
|
-
* - fast: classification, extraction, short generation
|
|
1706
|
-
* - chat: conversational with tool use and streaming
|
|
1707
|
-
* - reasoning: complex multi-step legal analysis
|
|
1708
|
-
* - pdf: native PDF/image understanding
|
|
1709
|
-
*/
|
|
1710
|
-
declare const MODEL_ROLES: readonly ["fast", "chat", "reasoning", "pdf"];
|
|
1711
|
-
type ModelRole = (typeof MODEL_ROLES)[number];
|
|
1712
3044
|
declare const TEMPERATURE_POLICIES: readonly ["emit", "omit"];
|
|
1713
3045
|
type TemperaturePolicy = (typeof TEMPERATURE_POLICIES)[number];
|
|
1714
3046
|
declare const IMAGE_INPUT_CAPABILITIES: readonly ["supported", "unsupported", "unknown"];
|
|
@@ -1747,199 +3079,139 @@ declare const FIRST_PARTY_MODEL_PROVIDER_VALUES: readonly ["google", "openai", "
|
|
|
1747
3079
|
* a compile error.
|
|
1748
3080
|
*/
|
|
1749
3081
|
declare const FIRST_PARTY_MODEL_PROVIDERS: Exclude<FirstPartyModelProvider, (typeof FIRST_PARTY_MODEL_PROVIDER_VALUES)[number]> extends never ? typeof FIRST_PARTY_MODEL_PROVIDER_VALUES : never;
|
|
3082
|
+
/** Default labels in the override editor derive from the task ledger. */
|
|
1750
3083
|
declare const BYOK_DEFAULT_MODELS: {
|
|
1751
3084
|
readonly google: {
|
|
1752
3085
|
readonly fast: {
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
3086
|
+
kind: "default";
|
|
3087
|
+
modelId: "gemini-3.8-flash";
|
|
3088
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1756
3089
|
};
|
|
1757
3090
|
readonly chat: {
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
3091
|
+
kind: "default";
|
|
3092
|
+
modelId: "gemini-3.8-flash";
|
|
3093
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1761
3094
|
};
|
|
1762
3095
|
readonly reasoning: {
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
3096
|
+
kind: "default";
|
|
3097
|
+
modelId: "gemini-3.8-flash";
|
|
3098
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1766
3099
|
};
|
|
1767
3100
|
readonly pdf: {
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
3101
|
+
kind: "default";
|
|
3102
|
+
modelId: "gemini-3.8-flash";
|
|
3103
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1771
3104
|
};
|
|
1772
3105
|
};
|
|
1773
3106
|
readonly openrouter: {
|
|
1774
3107
|
readonly fast: {
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
3108
|
+
kind: "default";
|
|
3109
|
+
modelId: "anthropic/claude-haiku-5.5";
|
|
3110
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1778
3111
|
};
|
|
1779
3112
|
readonly chat: {
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
3113
|
+
kind: "default";
|
|
3114
|
+
modelId: "openai/gpt-6-sol";
|
|
3115
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1783
3116
|
};
|
|
1784
3117
|
readonly reasoning: {
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
3118
|
+
kind: "default";
|
|
3119
|
+
modelId: "openai/gpt-6-sol";
|
|
3120
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1788
3121
|
};
|
|
1789
3122
|
readonly pdf: {
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
3123
|
+
kind: "default";
|
|
3124
|
+
modelId: "openai/gpt-6-sol";
|
|
3125
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1793
3126
|
};
|
|
1794
3127
|
};
|
|
1795
3128
|
readonly openai: {
|
|
1796
3129
|
readonly fast: {
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
3130
|
+
kind: "default";
|
|
3131
|
+
modelId: "gpt-6-luna";
|
|
3132
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1800
3133
|
};
|
|
1801
3134
|
readonly chat: {
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
3135
|
+
kind: "default";
|
|
3136
|
+
modelId: "gpt-6-sol";
|
|
3137
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1805
3138
|
};
|
|
1806
3139
|
readonly reasoning: {
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
3140
|
+
kind: "default";
|
|
3141
|
+
modelId: "gpt-6-sol";
|
|
3142
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1810
3143
|
};
|
|
1811
3144
|
readonly pdf: {
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
3145
|
+
kind: "default";
|
|
3146
|
+
modelId: "gpt-6-sol";
|
|
3147
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1815
3148
|
};
|
|
1816
3149
|
};
|
|
1817
3150
|
readonly anthropic: {
|
|
1818
3151
|
readonly fast: {
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
3152
|
+
kind: "default";
|
|
3153
|
+
modelId: "claude-haiku-5-5";
|
|
3154
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1822
3155
|
};
|
|
1823
3156
|
readonly chat: {
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
3157
|
+
kind: "default";
|
|
3158
|
+
modelId: "claude-opus-5-5";
|
|
3159
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1827
3160
|
};
|
|
1828
3161
|
readonly reasoning: {
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
3162
|
+
kind: "default";
|
|
3163
|
+
modelId: "claude-opus-5-5";
|
|
3164
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1832
3165
|
};
|
|
1833
3166
|
readonly pdf: {
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
3167
|
+
kind: "default";
|
|
3168
|
+
modelId: "claude-opus-5-5";
|
|
3169
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1837
3170
|
};
|
|
1838
3171
|
};
|
|
1839
3172
|
readonly bedrock: {
|
|
1840
3173
|
readonly fast: {
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
3174
|
+
kind: "default";
|
|
3175
|
+
modelId: "us.anthropic.claude-haiku-5-5";
|
|
3176
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1844
3177
|
};
|
|
1845
3178
|
readonly chat: {
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
3179
|
+
kind: "default";
|
|
3180
|
+
modelId: "us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
3181
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1849
3182
|
};
|
|
1850
3183
|
readonly reasoning: {
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
3184
|
+
kind: "default";
|
|
3185
|
+
modelId: "us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
3186
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1854
3187
|
};
|
|
1855
3188
|
readonly pdf: {
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
3189
|
+
kind: "default";
|
|
3190
|
+
modelId: "us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
3191
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1859
3192
|
};
|
|
1860
3193
|
};
|
|
1861
3194
|
readonly mistral: {
|
|
1862
3195
|
readonly fast: {
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
3196
|
+
kind: "default";
|
|
3197
|
+
modelId: "mistral-small-latest";
|
|
3198
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1866
3199
|
};
|
|
1867
3200
|
readonly chat: {
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
3201
|
+
kind: "default";
|
|
3202
|
+
modelId: "mistral-medium-latest";
|
|
3203
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1871
3204
|
};
|
|
1872
3205
|
readonly reasoning: {
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
3206
|
+
kind: "default";
|
|
3207
|
+
modelId: "mistral-medium-latest";
|
|
3208
|
+
rationaleKey: "organization.aiConfig.defaultRationale.fast" | "organization.aiConfig.defaultRationale.chat" | "organization.aiConfig.defaultRationale.reasoning" | "organization.aiConfig.defaultRationale.pdf";
|
|
1876
3209
|
};
|
|
1877
3210
|
readonly pdf: {
|
|
1878
3211
|
readonly kind: "unsupported";
|
|
1879
3212
|
};
|
|
1880
3213
|
};
|
|
1881
3214
|
};
|
|
1882
|
-
/**
|
|
1883
|
-
* Instance-level default model IDs per provider. Extends the BYOK
|
|
1884
|
-
* defaults with the providers that only the instance path uses
|
|
1885
|
-
* (custom deployments and OpenAI-compatible endpoints).
|
|
1886
|
-
*/
|
|
1887
|
-
declare const DEFAULT_MODELS: {
|
|
1888
|
-
readonly google: {
|
|
1889
|
-
fast: string;
|
|
1890
|
-
chat: string;
|
|
1891
|
-
reasoning: string;
|
|
1892
|
-
pdf: string;
|
|
1893
|
-
};
|
|
1894
|
-
readonly openrouter: {
|
|
1895
|
-
fast: string;
|
|
1896
|
-
chat: string;
|
|
1897
|
-
reasoning: string;
|
|
1898
|
-
pdf: string;
|
|
1899
|
-
};
|
|
1900
|
-
readonly openai: {
|
|
1901
|
-
fast: string;
|
|
1902
|
-
chat: string;
|
|
1903
|
-
reasoning: string;
|
|
1904
|
-
pdf: string;
|
|
1905
|
-
};
|
|
1906
|
-
readonly anthropic: {
|
|
1907
|
-
fast: string;
|
|
1908
|
-
chat: string;
|
|
1909
|
-
reasoning: string;
|
|
1910
|
-
pdf: string;
|
|
1911
|
-
};
|
|
1912
|
-
readonly bedrock: {
|
|
1913
|
-
fast: string;
|
|
1914
|
-
chat: string;
|
|
1915
|
-
reasoning: string;
|
|
1916
|
-
pdf: string;
|
|
1917
|
-
};
|
|
1918
|
-
readonly mistral: {
|
|
1919
|
-
readonly fast: "mistral-small-latest";
|
|
1920
|
-
readonly chat: "mistral-medium-latest";
|
|
1921
|
-
readonly reasoning: "mistral-medium-latest";
|
|
1922
|
-
readonly pdf: null;
|
|
1923
|
-
};
|
|
1924
|
-
readonly azure_foundry: {
|
|
1925
|
-
readonly fast: "gpt-5.6-luna";
|
|
1926
|
-
readonly chat: "gpt-5.6-terra";
|
|
1927
|
-
readonly reasoning: "gpt-5.6-terra";
|
|
1928
|
-
readonly pdf: "gpt-5.6-terra";
|
|
1929
|
-
};
|
|
1930
|
-
readonly openai_compatible: {
|
|
1931
|
-
readonly fast: "default";
|
|
1932
|
-
readonly chat: "default";
|
|
1933
|
-
readonly reasoning: "default";
|
|
1934
|
-
readonly pdf: "default";
|
|
1935
|
-
};
|
|
1936
|
-
readonly huggingface: {
|
|
1937
|
-
readonly fast: "speakleash/Bielik-1.5B-v3.0-Instruct";
|
|
1938
|
-
readonly chat: "speakleash/Bielik-11B-v2.3-Instruct";
|
|
1939
|
-
readonly reasoning: "speakleash/Bielik-11B-v2.3-Instruct";
|
|
1940
|
-
readonly pdf: "speakleash/Bielik-11B-v2.3-Instruct";
|
|
1941
|
-
};
|
|
1942
|
-
};
|
|
1943
3215
|
/**
|
|
1944
3216
|
* BYOK-offered model IDs per provider — the curated catalog users pick
|
|
1945
3217
|
* from in org settings, and the server-side allowlist the API enforces.
|
|
@@ -2306,12 +3578,12 @@ declare const getModelImageInputCapability: ({ provider, modelId }: {
|
|
|
2306
3578
|
}) => ImageInputCapability | undefined;
|
|
2307
3579
|
declare const isBYOKProviderRoleSupported: ({ provider, role }: {
|
|
2308
3580
|
provider: BYOKProvider;
|
|
2309
|
-
role:
|
|
3581
|
+
role: ModelOverrideGroup;
|
|
2310
3582
|
}) => boolean;
|
|
2311
3583
|
declare const isBYOKModelRoleSupported: ({ provider, modelId, role }: {
|
|
2312
3584
|
provider: BYOKProvider;
|
|
2313
3585
|
modelId: string;
|
|
2314
|
-
role:
|
|
3586
|
+
role: ModelOverrideGroup;
|
|
2315
3587
|
}) => boolean;
|
|
2316
3588
|
/**
|
|
2317
3589
|
* Models whose provider adapter can receive a PDF `document` content part in a
|
|
@@ -2338,24 +3610,11 @@ declare const isChatPdfAttachmentModelSupported: ({ provider, modelId }: {
|
|
|
2338
3610
|
provider: BYOKProvider;
|
|
2339
3611
|
modelId: string;
|
|
2340
3612
|
}) => boolean;
|
|
2341
|
-
/**
|
|
2342
|
-
|
|
2343
|
-
* keeping the SAME provider. Returns the caller's model unchanged when
|
|
2344
|
-
* it is still offered; otherwise falls back to the provider's per-role
|
|
2345
|
-
* default (`BYOK_DEFAULT_MODELS`). Returns `null` only when the
|
|
2346
|
-
* provider has no valid model for the role at all — the sole case
|
|
2347
|
-
* today is `mistral` + `pdf`, because the TanStack Mistral adapter
|
|
2348
|
-
* exposes no `document` input modality, so no Mistral model (not even
|
|
2349
|
-
* the default) can serve the PDF role.
|
|
2350
|
-
*
|
|
2351
|
-
* Used to auto-heal org AI configs whose pinned model was removed by a
|
|
2352
|
-
* catalog bump, so generation resolves to a supported model instead of
|
|
2353
|
-
* 400-ing (or forwarding a retired id to the provider).
|
|
2354
|
-
*/
|
|
2355
|
-
declare const resolveWorkingBYOKModelForRole: ({ provider, modelId, role }: {
|
|
3613
|
+
/** Keep a supported override, otherwise use that provider's task default. */
|
|
3614
|
+
declare const resolveWorkingBYOKModelForTask: ({ provider, modelId, task }: {
|
|
2356
3615
|
provider: BYOKProvider;
|
|
2357
3616
|
modelId: string;
|
|
2358
|
-
|
|
3617
|
+
task: ModelTask;
|
|
2359
3618
|
}) => string | null;
|
|
2360
3619
|
/** Native Anthropic adaptive-thinking models, derived from replay capabilities. */
|
|
2361
3620
|
declare const ANTHROPIC_ADAPTIVE_THINKING_MODELS: ("claude-sonnet-5-5" | "claude-sonnet-5" | "claude-fable-5-1" | "claude-fable-5" | "claude-opus-5-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-sonnet-4-6" | "claude-opus-4-6" | "claude-haiku-5-5" | "claude-haiku-4-5-20251001")[];
|
|
@@ -2376,24 +3635,6 @@ declare const resolvedReasoningEffortSchema: v.SchemaWithPipe<readonly [v.Pickli
|
|
|
2376
3635
|
* that mistake now fails typecheck instead of 502-ing at runtime.
|
|
2377
3636
|
*/
|
|
2378
3637
|
type ResolvedReasoningEffort = v.InferOutput<typeof resolvedReasoningEffortSchema>;
|
|
2379
|
-
/**
|
|
2380
|
-
* Per-provider model served when a user's included budget is exhausted
|
|
2381
|
-
* and no explicit selection overrides it. Falls back to each
|
|
2382
|
-
* provider's fast-role default; providers without a first-class
|
|
2383
|
-
* adapter path cannot serve the lane. Total over providers so a new
|
|
2384
|
-
* provider lands with an explicit decision.
|
|
2385
|
-
*/
|
|
2386
|
-
declare const FALLBACK_CHAT_MODEL_BY_PROVIDER: {
|
|
2387
|
-
readonly google: string;
|
|
2388
|
-
readonly openrouter: string;
|
|
2389
|
-
readonly openai: string;
|
|
2390
|
-
readonly anthropic: string;
|
|
2391
|
-
readonly bedrock: string;
|
|
2392
|
-
readonly mistral: "mistral-small-latest";
|
|
2393
|
-
readonly azure_foundry: null;
|
|
2394
|
-
readonly openai_compatible: null;
|
|
2395
|
-
readonly huggingface: null;
|
|
2396
|
-
};
|
|
2397
3638
|
/**
|
|
2398
3639
|
* Provider-native IDs that are exact aliases of an offered catalog ID.
|
|
2399
3640
|
* Every metadata lookup normalizes here, so instance/dev overrides cannot
|
|
@@ -2548,7 +3789,7 @@ declare const getModelRate: (modelId: string) => ModelRate | undefined;
|
|
|
2548
3789
|
*
|
|
2549
3790
|
* Keys are the canonical model IDs stella resolves for the provider
|
|
2550
3791
|
* adapters (the same forms used in `MODEL_RATES`, `BYOK_MODEL_OPTIONS`,
|
|
2551
|
-
* and
|
|
3792
|
+
* and the task defaults ledger, including OpenRouter provider-prefixed slugs and
|
|
2552
3793
|
* AWS Bedrock IDs). Values are the providers' publicly documented input
|
|
2553
3794
|
* windows; where a provider offers a larger beta window we intentionally
|
|
2554
3795
|
* take the conservative default (e.g. Claude's standard 200K rather than
|
|
@@ -2662,4 +3903,4 @@ declare const DECISION_MODEL_CATALOG: {
|
|
|
2662
3903
|
};
|
|
2663
3904
|
declare const getModelReasoningCapabilities: (modelId: string) => ModelReasoningCapabilities | null;
|
|
2664
3905
|
//#endregion
|
|
2665
|
-
export {
|
|
3906
|
+
export { MODEL_IMAGE_INPUT_CAPABILITIES as $, STREAMING_TOOL_USE_SUPPORTS as A, MODEL_TASK_OVERRIDE_GROUP as At, getModelRate as B, resolveDefaultModel as Bt, ModelDisplayMetadata as C, ModelRateAmounts as Ct, ReasoningEffort as D, MODEL_OVERRIDE_GROUPS as Dt, RECOMMENDED_CHAT_MODELS as E, MODEL_DEFAULTS_LEDGER as Et, TemperaturePolicy as F, ModelDefaultsLedger as Ft, isBYOKProviderRoleSupported as G, getModelReasoningEfforts as H, getContextWindowTokens as I, ModelMode as It, resolveReasoningEffort as J, isChatPdfAttachmentModelSupported as K, getModelDefaultReasoningEffort as L, ModelOverrideGroup as Lt, TANSTACK_AI_PROVIDERS as M, ModelDefaultEntry as Mt, TEMPERATURE_POLICIES as N, ModelDefaultQuality as Nt, ResolveReasoningEffortOptions as O, MODEL_OVERRIDE_GROUP_TASK as Ot, TanStackAIProvider as P, ModelDefaultRationale as Pt, MODEL_DEFAULT_REASONING_EFFORTS as Q, getModelDisplayMetadata as R, ModelTask as Rt, MODEL_STREAMING_TOOL_USE as S, ModelRate as St, REASONING_EFFORTS as T, resolveModelRate as Tt, getOutputTokenLimit as U, getModelReasoningCapabilities as V, resolveDefaultOverrideModels as Vt, isBYOKModelRoleSupported as W, shouldEmitTemperature as X, resolveWorkingBYOKModelForTask as Y, supportsStreamingToolUse as Z, IMAGE_INPUT_CAPABILITIES as _, REASONING_REPLAY_FORMATS as _t, BYOKProvider as a, CAPABILITY_OVERRIDES as at, MODEL_CATALOG_PROVIDER_KIND as b, MODEL_RATES as bt, BYOK_MODEL_OPTIONS as c, ImageInputOverride as ct, DECISION_MODEL_CATALOG as d, MODELS_DEV_RATE_PROVIDER_BY_CATALOG_PROVIDER as dt, MODEL_OUTPUT_TOKEN_LIMITS as et, DECISION_MODEL_PROVIDERS as f, MODELS_DEV_RATE_SOURCE_ALIASES as ft, FirstPartyModelProvider as g, ModelReasoningCapabilities as gt, FIRST_PARTY_MODEL_PROVIDERS as h, MODEL_REASONING_CAPABILITIES as ht, BYOKModelIdByProvider as i, DocumentInputOverride as it, StreamingToolUseSupport as j, ModelDefaultCandidate as jt, ResolvedReasoningEffort as k, MODEL_TASKS as kt, CHAT_PDF_ATTACHMENT_MODEL_OPTIONS as l, ImageInputOverrides as lt, DecisionModelProvider as m, RETAINED_MODELS_DEV_RATE_ENTRIES as mt, AI_PROVIDERS as n, MODEL_TEMPERATURE_POLICIES as nt, BYOK_DEFAULT_MODELS as o, CapabilityOverride as ot, DEFAULT_CONTEXT_WINDOW_TOKENS as p, ModelsDevRateProvider as pt, normalizeModelCatalogId as q, ANTHROPIC_ADAPTIVE_THINKING_MODELS as r, DOCUMENT_INPUT_OVERRIDES as rt, BYOK_DOCUMENT_INPUT_MODEL_OPTIONS as s, IMAGE_INPUT_OVERRIDES as st, AIProvider as t, MODEL_REASONING_EFFORTS as tt, CONTEXT_WINDOW_TOKENS as u, MODELS_DEV_RATE_CORRECTIONS as ut, ImageInputCapability as v, ReasoningProvenance as vt, OfferedBYOKModelId as w, getStandardModelRate as wt, MODEL_DISPLAY_METADATA as x, MODEL_RATE_UNITS_PER_USD as xt, MODEL_CATALOG_ID_ALIASES as y, ReasoningReplayFormat as yt, getModelImageInputCapability as z, ResolvedDefaultModel as zt };
|