Repository navigation
Expand file tree
/
Copy pathchatModelOptionsGenerated.json
More file actions
630 lines (630 loc) · 17.1 KB
/
Copy pathchatModelOptionsGenerated.json
File metadata and controls
630 lines (630 loc) · 17.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
{
"general": {
"fields": [
{
"json_name": "max_output_tokens",
"go_name": "MaxOutputTokens",
"type": "integer",
"description": "Upper bound on tokens the model may generate",
"required": false,
"input_type": "input"
},
{
"json_name": "temperature",
"go_name": "Temperature",
"type": "number",
"description": "Sampling temperature between 0 and 2",
"required": false,
"input_type": "input"
},
{
"json_name": "top_p",
"go_name": "TopP",
"type": "number",
"description": "Nucleus sampling probability cutoff",
"required": false,
"input_type": "input"
},
{
"json_name": "top_k",
"go_name": "TopK",
"type": "integer",
"description": "Number of highest-probability tokens to keep for sampling",
"required": false,
"input_type": "input"
},
{
"json_name": "presence_penalty",
"go_name": "PresencePenalty",
"type": "number",
"description": "Penalty for tokens that have already appeared in the output",
"required": false,
"input_type": "input"
},
{
"json_name": "frequency_penalty",
"go_name": "FrequencyPenalty",
"type": "number",
"description": "Penalty for tokens based on their frequency in the output",
"required": false,
"input_type": "input"
},
{
"json_name": "cost.input_price_per_million_tokens",
"go_name": "Cost.InputPricePerMillionTokens",
"type": "number",
"description": "Input token price in USD per 1M tokens",
"required": false,
"input_type": "input"
},
{
"json_name": "cost.output_price_per_million_tokens",
"go_name": "Cost.OutputPricePerMillionTokens",
"type": "number",
"description": "Output token price in USD per 1M tokens",
"required": false,
"input_type": "input"
},
{
"json_name": "cost.cache_read_price_per_million_tokens",
"go_name": "Cost.CacheReadPricePerMillionTokens",
"type": "number",
"description": "Cache read token price in USD per 1M tokens",
"required": false,
"input_type": "input"
},
{
"json_name": "cost.cache_write_price_per_million_tokens",
"go_name": "Cost.CacheWritePricePerMillionTokens",
"type": "number",
"description": "Cache write or cache creation token price in USD per 1M tokens",
"required": false,
"input_type": "input"
}
]
},
"providers": {
"anthropic": {
"fields": [
{
"json_name": "send_reasoning",
"go_name": "SendReasoning",
"type": "boolean",
"description": "Whether to include reasoning content in the response",
"required": false,
"input_type": "select"
},
{
"json_name": "thinking.budget_tokens",
"go_name": "Thinking.BudgetTokens",
"type": "integer",
"description": "Maximum number of tokens the model may use for thinking",
"required": false,
"input_type": "input"
},
{
"json_name": "effort",
"go_name": "Effort",
"type": "string",
"description": "Controls the level of reasoning effort",
"required": false,
"enum": ["low", "medium", "high", "max"],
"input_type": "select"
},
{
"json_name": "disable_parallel_tool_use",
"go_name": "DisableParallelToolUse",
"type": "boolean",
"description": "Whether to disable parallel tool execution",
"required": false,
"input_type": "select"
},
{
"json_name": "web_search_enabled",
"go_name": "WebSearchEnabled",
"type": "boolean",
"description": "Enable Anthropic web search tool for grounding responses with real-time information",
"required": false,
"input_type": "select"
},
{
"json_name": "allowed_domains",
"go_name": "AllowedDomains",
"type": "array",
"description": "Restrict web search to these domains (cannot be used with blocked_domains)",
"required": false,
"input_type": "json"
},
{
"json_name": "blocked_domains",
"go_name": "BlockedDomains",
"type": "array",
"description": "Block web search on these domains (cannot be used with allowed_domains)",
"required": false,
"input_type": "json"
}
]
},
"google": {
"fields": [
{
"json_name": "thinking_config.thinking_budget",
"go_name": "ThinkingConfig.ThinkingBudget",
"type": "integer",
"description": "Maximum number of tokens the model may use for thinking",
"required": false,
"input_type": "input"
},
{
"json_name": "thinking_config.include_thoughts",
"go_name": "ThinkingConfig.IncludeThoughts",
"type": "boolean",
"description": "Whether to include thinking content in the response",
"required": false,
"input_type": "select"
},
{
"json_name": "cached_content",
"go_name": "CachedContent",
"type": "string",
"description": "Resource name of a cached content object",
"required": false,
"input_type": "input",
"hidden": true
},
{
"json_name": "safety_settings",
"go_name": "SafetySettings",
"type": "array",
"description": "Safety filtering settings for harmful content categories",
"required": false,
"input_type": "json",
"hidden": true
},
{
"json_name": "threshold",
"go_name": "Threshold",
"type": "string",
"required": false,
"input_type": "input",
"hidden": true
},
{
"json_name": "web_search_enabled",
"go_name": "WebSearchEnabled",
"type": "boolean",
"description": "Enable Google Search grounding for real-time information",
"required": false,
"input_type": "select"
}
]
},
"openai": {
"fields": [
{
"json_name": "include",
"go_name": "Include",
"type": "array",
"description": "Model names to include in discovery",
"required": false,
"input_type": "json",
"hidden": true
},
{
"json_name": "instructions",
"go_name": "Instructions",
"type": "string",
"description": "System-level instructions prepended to the conversation",
"required": false,
"input_type": "input",
"hidden": true
},
{
"json_name": "logit_bias",
"go_name": "LogitBias",
"type": "object",
"description": "Token IDs mapped to bias values from -100 to 100",
"required": false,
"input_type": "json",
"hidden": true
},
{
"json_name": "log_probs",
"go_name": "LogProbs",
"type": "boolean",
"description": "Whether to return log probabilities of output tokens",
"required": false,
"input_type": "select",
"hidden": true
},
{
"json_name": "top_log_probs",
"go_name": "TopLogProbs",
"type": "integer",
"description": "Number of most likely tokens to return log probabilities for",
"required": false,
"input_type": "input",
"hidden": true
},
{
"json_name": "max_tool_calls",
"go_name": "MaxToolCalls",
"type": "integer",
"description": "Maximum number of tool calls per response",
"required": false,
"input_type": "input"
},
{
"json_name": "parallel_tool_calls",
"go_name": "ParallelToolCalls",
"type": "boolean",
"description": "Whether the model may make multiple tool calls in parallel",
"required": false,
"input_type": "select"
},
{
"json_name": "user",
"go_name": "User",
"type": "string",
"description": "Unique identifier for the end user for abuse monitoring",
"required": false,
"input_type": "input",
"hidden": true
},
{
"json_name": "reasoning_effort",
"go_name": "ReasoningEffort",
"type": "string",
"description": "Controls the level of reasoning effort",
"required": false,
"enum": ["none", "minimal", "low", "medium", "high", "xhigh"],
"input_type": "select"
},
{
"json_name": "reasoning_summary",
"go_name": "ReasoningSummary",
"type": "string",
"description": "Controls whether reasoning tokens are summarized in the response",
"required": false,
"input_type": "input"
},
{
"json_name": "max_completion_tokens",
"go_name": "MaxCompletionTokens",
"type": "integer",
"description": "Upper bound on tokens the model may generate",
"required": false,
"input_type": "input"
},
{
"json_name": "text_verbosity",
"go_name": "TextVerbosity",
"type": "string",
"description": "Controls the verbosity of the text response",
"required": false,
"enum": ["low", "medium", "high"],
"input_type": "select"
},
{
"json_name": "prediction",
"go_name": "Prediction",
"type": "object",
"description": "Predicted output content to speed up responses",
"required": false,
"input_type": "json",
"hidden": true
},
{
"json_name": "store",
"go_name": "Store",
"type": "boolean",
"description": "Whether to store the output for model distillation or evals",
"required": false,
"input_type": "select",
"hidden": true
},
{
"json_name": "metadata",
"go_name": "Metadata",
"type": "object",
"description": "Arbitrary metadata to attach to the request",
"required": false,
"input_type": "json",
"hidden": true
},
{
"json_name": "prompt_cache_key",
"go_name": "PromptCacheKey",
"type": "string",
"description": "Key for enabling cross-request prompt caching",
"required": false,
"input_type": "input"
},
{
"json_name": "safety_identifier",
"go_name": "SafetyIdentifier",
"type": "string",
"description": "Developer-specific safety identifier for the request",
"required": false,
"input_type": "input",
"hidden": true
},
{
"json_name": "service_tier",
"go_name": "ServiceTier",
"type": "string",
"description": "Latency tier to use for processing the request",
"required": false,
"input_type": "input"
},
{
"json_name": "structured_outputs",
"go_name": "StructuredOutputs",
"type": "boolean",
"description": "Whether to enable structured JSON output mode",
"required": false,
"input_type": "select",
"hidden": true
},
{
"json_name": "strict_json_schema",
"go_name": "StrictJSONSchema",
"type": "boolean",
"description": "Whether to enforce strict adherence to the JSON schema",
"required": false,
"input_type": "select",
"hidden": true
},
{
"json_name": "web_search_enabled",
"go_name": "WebSearchEnabled",
"type": "boolean",
"description": "Enable OpenAI web search tool for grounding responses with real-time information",
"required": false,
"input_type": "select"
},
{
"json_name": "search_context_size",
"go_name": "SearchContextSize",
"type": "string",
"description": "Amount of search context to use",
"required": false,
"enum": ["low", "medium", "high"],
"input_type": "select"
},
{
"json_name": "allowed_domains",
"go_name": "AllowedDomains",
"type": "array",
"description": "Restrict web search to these domains",
"required": false,
"input_type": "json"
}
]
},
"openaicompat": {
"fields": [
{
"json_name": "user",
"go_name": "User",
"type": "string",
"description": "Unique identifier for the end user for abuse monitoring",
"required": false,
"input_type": "input",
"hidden": true
},
{
"json_name": "reasoning_effort",
"go_name": "ReasoningEffort",
"type": "string",
"description": "Controls the level of reasoning effort",
"required": false,
"enum": ["none", "minimal", "low", "medium", "high", "xhigh"],
"input_type": "select"
}
]
},
"openrouter": {
"fields": [
{
"json_name": "reasoning.enabled",
"go_name": "Reasoning.Enabled",
"type": "boolean",
"description": "Whether reasoning is enabled",
"required": false,
"input_type": "select"
},
{
"json_name": "reasoning.exclude",
"go_name": "Reasoning.Exclude",
"type": "boolean",
"description": "Whether to exclude reasoning content from the response",
"required": false,
"input_type": "select"
},
{
"json_name": "reasoning.max_tokens",
"go_name": "Reasoning.MaxTokens",
"type": "integer",
"description": "Maximum number of tokens for reasoning output",
"required": false,
"input_type": "input"
},
{
"json_name": "reasoning.effort",
"go_name": "Reasoning.Effort",
"type": "string",
"description": "Controls the level of reasoning effort",
"required": false,
"enum": ["none", "minimal", "low", "medium", "high", "xhigh"],
"input_type": "select"
},
{
"json_name": "extra_body",
"go_name": "ExtraBody",
"type": "object",
"description": "Additional fields to include in the request body",
"required": false,
"input_type": "json",
"hidden": true
},
{
"json_name": "include_usage",
"go_name": "IncludeUsage",
"type": "boolean",
"description": "Whether to include token usage information in the response",
"required": false,
"input_type": "select",
"hidden": true
},
{
"json_name": "logit_bias",
"go_name": "LogitBias",
"type": "object",
"description": "Token IDs mapped to bias values from -100 to 100",
"required": false,
"input_type": "json",
"hidden": true
},
{
"json_name": "log_probs",
"go_name": "LogProbs",
"type": "boolean",
"description": "Whether to return log probabilities of output tokens",
"required": false,
"input_type": "select",
"hidden": true
},
{
"json_name": "parallel_tool_calls",
"go_name": "ParallelToolCalls",
"type": "boolean",
"description": "Whether the model may make multiple tool calls in parallel",
"required": false,
"input_type": "select"
},
{
"json_name": "user",
"go_name": "User",
"type": "string",
"description": "Unique identifier for the end user for abuse monitoring",
"required": false,
"input_type": "input",
"hidden": true
},
{
"json_name": "provider",
"go_name": "Provider",
"type": "string",
"description": "Routing preferences for provider selection",
"required": false,
"input_type": "input",
"hidden": true
}
]
},
"vercel": {
"fields": [
{
"json_name": "reasoning.enabled",
"go_name": "Reasoning.Enabled",
"type": "boolean",
"description": "Whether reasoning is enabled",
"required": false,
"input_type": "select"
},
{
"json_name": "reasoning.exclude",
"go_name": "Reasoning.Exclude",
"type": "boolean",
"description": "Whether to exclude reasoning content from the response",
"required": false,
"input_type": "select"
},
{
"json_name": "reasoning.max_tokens",
"go_name": "Reasoning.MaxTokens",
"type": "integer",
"description": "Maximum number of tokens for reasoning output",
"required": false,
"input_type": "input"
},
{
"json_name": "reasoning.effort",
"go_name": "Reasoning.Effort",
"type": "string",
"description": "Controls the level of reasoning effort",
"required": false,
"enum": ["none", "minimal", "low", "medium", "high", "xhigh"],
"input_type": "select"
},
{
"json_name": "providerOptions",
"go_name": "ProviderOptions",
"type": "string",
"description": "Gateway routing options for provider selection",
"required": false,
"input_type": "input",
"hidden": true
},
{
"json_name": "user",
"go_name": "User",
"type": "string",
"description": "Unique identifier for the end user for abuse monitoring",
"required": false,
"input_type": "input",
"hidden": true
},
{
"json_name": "logit_bias",
"go_name": "LogitBias",
"type": "object",
"description": "Token IDs mapped to bias values from -100 to 100",
"required": false,
"input_type": "json",
"hidden": true
},
{
"json_name": "logprobs",
"go_name": "LogProbs",
"type": "boolean",
"description": "Whether to return log probabilities of output tokens",
"required": false,
"input_type": "select",
"hidden": true
},
{
"json_name": "top_logprobs",
"go_name": "TopLogProbs",
"type": "integer",
"description": "Number of most likely tokens to return log probabilities for",
"required": false,
"input_type": "input",
"hidden": true
},
{
"json_name": "parallel_tool_calls",
"go_name": "ParallelToolCalls",
"type": "boolean",
"description": "Whether the model may make multiple tool calls in parallel",
"required": false,
"input_type": "select"
},
{
"json_name": "extra_body",
"go_name": "ExtraBody",
"type": "object",
"description": "Additional fields to include in the request body",
"required": false,
"input_type": "json",
"hidden": true
}
]
}
},
"provider_aliases": {
"azure": "openai",
"bedrock": "anthropic"
}
}