@opencode/ai 2.0.30 → 2.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/experimental/realtime.d.ts +55 -0
- package/dist/experimental/realtime.js +74 -0
- package/dist/experimental.d.ts +2 -0
- package/dist/experimental.js +1 -0
- package/dist/protocols/alibaba-chat.d.ts +1 -1
- package/dist/protocols/alibaba-messages.d.ts +1 -1
- package/dist/protocols/alibaba-responses.d.ts +1 -1
- package/dist/protocols/anthropic-messages.d.ts +2 -2
- package/dist/protocols/bedrock-converse.d.ts +2 -2
- package/dist/protocols/bedrock-converse.js +1 -1
- package/dist/protocols/cohere-chat.d.ts +2 -2
- package/dist/protocols/gemini.js +11 -1
- package/dist/protocols/meta-messages.d.ts +1 -1
- package/dist/protocols/meta-responses.d.ts +2 -2
- package/dist/protocols/mistral-chat.d.ts +3 -3
- package/dist/protocols/open-responses.d.ts +2 -2
- package/dist/protocols/openai-chat.d.ts +3 -3
- package/dist/protocols/openai-compatible-chat.d.ts +1 -1
- package/dist/protocols/openai-compatible-responses.d.ts +1 -1
- package/dist/protocols/openai-responses.d.ts +5 -5
- package/dist/protocols/utils/bedrock-cache.d.ts +2 -2
- package/dist/protocols/utils/bedrock-cache.js +5 -3
- package/dist/protocols/venice-chat.d.ts +1 -1
- package/dist/protocols/xai-responses.d.ts +1 -1
- package/dist/protocols/zai-chat.d.ts +1 -1
- package/dist/protocols/zai-messages.d.ts +1 -1
- package/dist/providers/alibaba.d.ts +3 -3
- package/dist/providers/amazon-bedrock-mantle.d.ts +3 -3
- package/dist/providers/amazon-bedrock.d.ts +1 -1
- package/dist/providers/anthropic-compatible.d.ts +1 -1
- package/dist/providers/anthropic.d.ts +1 -1
- package/dist/providers/azure.d.ts +3 -3
- package/dist/providers/baseten.d.ts +2 -2
- package/dist/providers/cerebras.d.ts +2 -2
- package/dist/providers/cloudflare-ai-gateway.d.ts +6 -6
- package/dist/providers/cloudflare-workers-ai.d.ts +2 -2
- package/dist/providers/cohere.d.ts +4 -4
- package/dist/providers/deepinfra.d.ts +2 -2
- package/dist/providers/deepseek.d.ts +2 -2
- package/dist/providers/digitalocean.d.ts +3 -3
- package/dist/providers/fireworks.d.ts +2 -2
- package/dist/providers/google-vertex-chat.d.ts +1 -1
- package/dist/providers/google-vertex-messages.d.ts +1 -1
- package/dist/providers/google-vertex-mistral.d.ts +1 -1
- package/dist/providers/google-vertex-responses.d.ts +1 -1
- package/dist/providers/groq.d.ts +2 -2
- package/dist/providers/meta.d.ts +3 -3
- package/dist/providers/minimax.d.ts +3 -3
- package/dist/providers/mistral.d.ts +2 -2
- package/dist/providers/moonshot.d.ts +3 -3
- package/dist/providers/openai-compatible-responses.d.ts +1 -1
- package/dist/providers/openai-compatible.d.ts +1 -1
- package/dist/providers/openai.d.ts +2 -2
- package/dist/providers/openrouter.d.ts +3 -3
- package/dist/providers/togetherai.d.ts +2 -2
- package/dist/providers/venice.d.ts +1 -1
- package/dist/providers/xai.d.ts +1 -1
- package/dist/providers/zai-coding-plan.d.ts +3 -3
- package/dist/providers/zai.d.ts +1 -1
- package/package.json +3 -3
|
@@ -134,6 +134,7 @@ export declare const protocol: Protocol<{
|
|
|
134
134
|
readonly summary?: "auto" | "concise" | "detailed" | undefined;
|
|
135
135
|
readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
|
|
136
136
|
} | undefined;
|
|
137
|
+
readonly temperature?: number | undefined;
|
|
137
138
|
readonly tools?: readonly ({
|
|
138
139
|
readonly [x: string]: unknown;
|
|
139
140
|
readonly type: string;
|
|
@@ -149,7 +150,6 @@ export declare const protocol: Protocol<{
|
|
|
149
150
|
readonly text?: {
|
|
150
151
|
readonly verbosity?: import("./utils/open-responses-options.js").TextVerbosity | undefined;
|
|
151
152
|
} | undefined;
|
|
152
|
-
readonly temperature?: number | undefined;
|
|
153
153
|
readonly service_tier?: import("./utils/open-responses-options.js").ServiceTier | undefined;
|
|
154
154
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
155
155
|
readonly type: "function";
|
|
@@ -110,6 +110,7 @@ export declare const protocol: Protocol<{
|
|
|
110
110
|
readonly stream: true;
|
|
111
111
|
readonly max_completion_tokens?: number | undefined;
|
|
112
112
|
readonly max_tokens?: number | undefined;
|
|
113
|
+
readonly temperature?: number | undefined;
|
|
113
114
|
readonly tools?: readonly {
|
|
114
115
|
readonly function: {
|
|
115
116
|
readonly description: string;
|
|
@@ -126,7 +127,6 @@ export declare const protocol: Protocol<{
|
|
|
126
127
|
} | undefined;
|
|
127
128
|
}[] | undefined;
|
|
128
129
|
readonly stop?: readonly string[] | undefined;
|
|
129
|
-
readonly temperature?: number | undefined;
|
|
130
130
|
readonly seed?: number | undefined;
|
|
131
131
|
readonly thinking?: {
|
|
132
132
|
readonly type?: string | undefined;
|
|
@@ -199,6 +199,7 @@ export declare const protocol: Protocol<{
|
|
|
199
199
|
readonly metadata?: {
|
|
200
200
|
readonly user_id?: string | null | undefined;
|
|
201
201
|
} | undefined;
|
|
202
|
+
readonly temperature?: number | undefined;
|
|
202
203
|
readonly tools?: readonly {
|
|
203
204
|
readonly description: string;
|
|
204
205
|
readonly name: string;
|
|
@@ -218,7 +219,6 @@ export declare const protocol: Protocol<{
|
|
|
218
219
|
readonly ttl?: "1h" | "5m" | undefined;
|
|
219
220
|
} | undefined;
|
|
220
221
|
}[] | undefined;
|
|
221
|
-
readonly temperature?: number | undefined;
|
|
222
222
|
readonly thinking?: {
|
|
223
223
|
readonly type: string;
|
|
224
224
|
} | undefined;
|
|
@@ -110,6 +110,7 @@ export declare const routes: (Route<{
|
|
|
110
110
|
readonly stream: true;
|
|
111
111
|
readonly max_completion_tokens?: number | undefined;
|
|
112
112
|
readonly max_tokens?: number | undefined;
|
|
113
|
+
readonly temperature?: number | undefined;
|
|
113
114
|
readonly tools?: readonly {
|
|
114
115
|
readonly function: {
|
|
115
116
|
readonly description: string;
|
|
@@ -126,7 +127,6 @@ export declare const routes: (Route<{
|
|
|
126
127
|
} | undefined;
|
|
127
128
|
}[] | undefined;
|
|
128
129
|
readonly stop?: readonly string[] | undefined;
|
|
129
|
-
readonly temperature?: number | undefined;
|
|
130
130
|
readonly seed?: number | undefined;
|
|
131
131
|
readonly thinking?: {
|
|
132
132
|
readonly type: (string & {}) | "disabled" | "adaptive";
|
|
@@ -359,6 +359,7 @@ export declare const routes: (Route<{
|
|
|
359
359
|
readonly metadata?: {
|
|
360
360
|
readonly user_id?: string | null | undefined;
|
|
361
361
|
} | undefined;
|
|
362
|
+
readonly temperature?: number | undefined;
|
|
362
363
|
readonly tools?: readonly {
|
|
363
364
|
readonly description: string;
|
|
364
365
|
readonly name: string;
|
|
@@ -378,7 +379,6 @@ export declare const routes: (Route<{
|
|
|
378
379
|
readonly ttl?: "1h" | "5m" | undefined;
|
|
379
380
|
} | undefined;
|
|
380
381
|
}[] | undefined;
|
|
381
|
-
readonly temperature?: number | undefined;
|
|
382
382
|
readonly thinking?: {
|
|
383
383
|
readonly type: string;
|
|
384
384
|
readonly budget_tokens?: number | undefined;
|
|
@@ -560,6 +560,7 @@ export declare const routes: (Route<{
|
|
|
560
560
|
readonly summary?: "auto" | "concise" | "detailed" | undefined;
|
|
561
561
|
readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
|
|
562
562
|
} | undefined;
|
|
563
|
+
readonly temperature?: number | undefined;
|
|
563
564
|
readonly tools?: readonly ({
|
|
564
565
|
readonly [x: string]: unknown;
|
|
565
566
|
readonly type: string;
|
|
@@ -575,7 +576,6 @@ export declare const routes: (Route<{
|
|
|
575
576
|
readonly text?: {
|
|
576
577
|
readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
|
|
577
578
|
} | undefined;
|
|
578
|
-
readonly temperature?: number | undefined;
|
|
579
579
|
readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
|
|
580
580
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
581
581
|
readonly type: "function";
|
|
@@ -223,6 +223,7 @@ export declare const routes: (Route<{
|
|
|
223
223
|
readonly metadata?: {
|
|
224
224
|
readonly user_id?: string | null | undefined;
|
|
225
225
|
} | undefined;
|
|
226
|
+
readonly temperature?: number | undefined;
|
|
226
227
|
readonly tools?: readonly {
|
|
227
228
|
readonly description: string;
|
|
228
229
|
readonly name: string;
|
|
@@ -242,7 +243,6 @@ export declare const routes: (Route<{
|
|
|
242
243
|
readonly ttl?: "1h" | "5m" | undefined;
|
|
243
244
|
} | undefined;
|
|
244
245
|
}[] | undefined;
|
|
245
|
-
readonly temperature?: number | undefined;
|
|
246
246
|
readonly thinking?: {
|
|
247
247
|
readonly type: "enabled";
|
|
248
248
|
readonly budget_tokens: number;
|
|
@@ -389,6 +389,7 @@ export declare const routes: (Route<{
|
|
|
389
389
|
readonly stream: true;
|
|
390
390
|
readonly max_completion_tokens?: number | undefined;
|
|
391
391
|
readonly max_tokens?: number | undefined;
|
|
392
|
+
readonly temperature?: number | undefined;
|
|
392
393
|
readonly tools?: readonly {
|
|
393
394
|
readonly function: {
|
|
394
395
|
readonly description: string;
|
|
@@ -405,7 +406,6 @@ export declare const routes: (Route<{
|
|
|
405
406
|
} | undefined;
|
|
406
407
|
}[] | undefined;
|
|
407
408
|
readonly stop?: readonly string[] | undefined;
|
|
408
|
-
readonly temperature?: number | undefined;
|
|
409
409
|
readonly seed?: number | undefined;
|
|
410
410
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
411
411
|
readonly type: "function";
|
|
@@ -557,6 +557,7 @@ export declare const routes: (Route<{
|
|
|
557
557
|
readonly summary?: "auto" | "concise" | "detailed" | undefined;
|
|
558
558
|
readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
|
|
559
559
|
} | undefined;
|
|
560
|
+
readonly temperature?: number | undefined;
|
|
560
561
|
readonly tools?: readonly ({
|
|
561
562
|
readonly [x: string]: unknown;
|
|
562
563
|
readonly type: string;
|
|
@@ -572,7 +573,6 @@ export declare const routes: (Route<{
|
|
|
572
573
|
readonly text?: {
|
|
573
574
|
readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
|
|
574
575
|
} | undefined;
|
|
575
|
-
readonly temperature?: number | undefined;
|
|
576
576
|
readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
|
|
577
577
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
578
578
|
readonly type: "function";
|
|
@@ -116,8 +116,8 @@ export declare const routes: import("../route/client.js").Route<{
|
|
|
116
116
|
readonly text: string;
|
|
117
117
|
})[] | undefined;
|
|
118
118
|
readonly inferenceConfig?: {
|
|
119
|
-
readonly maxTokens?: number | undefined;
|
|
120
119
|
readonly temperature?: number | undefined;
|
|
120
|
+
readonly maxTokens?: number | undefined;
|
|
121
121
|
readonly topP?: number | undefined;
|
|
122
122
|
readonly stopSequences?: readonly string[] | undefined;
|
|
123
123
|
} | undefined;
|
|
@@ -215,6 +215,7 @@ export declare const routes: import("../route/client.js").Route<{
|
|
|
215
215
|
readonly metadata?: {
|
|
216
216
|
readonly user_id?: string | null | undefined;
|
|
217
217
|
} | undefined;
|
|
218
|
+
readonly temperature?: number | undefined;
|
|
218
219
|
readonly tools?: readonly {
|
|
219
220
|
readonly description: string;
|
|
220
221
|
readonly name: string;
|
|
@@ -234,7 +235,6 @@ export declare const routes: import("../route/client.js").Route<{
|
|
|
234
235
|
readonly ttl?: "1h" | "5m" | undefined;
|
|
235
236
|
} | undefined;
|
|
236
237
|
}[] | undefined;
|
|
237
|
-
readonly temperature?: number | undefined;
|
|
238
238
|
readonly thinking?: {
|
|
239
239
|
readonly type: "enabled";
|
|
240
240
|
readonly budget_tokens: number;
|
|
@@ -200,6 +200,7 @@ export declare const routes: import("../route/client.js").Route<{
|
|
|
200
200
|
readonly metadata?: {
|
|
201
201
|
readonly user_id?: string | null | undefined;
|
|
202
202
|
} | undefined;
|
|
203
|
+
readonly temperature?: number | undefined;
|
|
203
204
|
readonly tools?: readonly {
|
|
204
205
|
readonly description: string;
|
|
205
206
|
readonly name: string;
|
|
@@ -219,7 +220,6 @@ export declare const routes: import("../route/client.js").Route<{
|
|
|
219
220
|
readonly ttl?: "1h" | "5m" | undefined;
|
|
220
221
|
} | undefined;
|
|
221
222
|
}[] | undefined;
|
|
222
|
-
readonly temperature?: number | undefined;
|
|
223
223
|
readonly thinking?: {
|
|
224
224
|
readonly type: "enabled";
|
|
225
225
|
readonly budget_tokens: number;
|
|
@@ -155,6 +155,7 @@ declare const responsesRoute: Route<{
|
|
|
155
155
|
readonly summary?: "auto" | "concise" | "detailed" | undefined;
|
|
156
156
|
readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
|
|
157
157
|
} | undefined;
|
|
158
|
+
readonly temperature?: number | undefined;
|
|
158
159
|
readonly tools?: readonly ({
|
|
159
160
|
readonly type: "function";
|
|
160
161
|
readonly description: string;
|
|
@@ -190,7 +191,6 @@ declare const responsesRoute: Route<{
|
|
|
190
191
|
readonly text?: {
|
|
191
192
|
readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
|
|
192
193
|
} | undefined;
|
|
193
|
-
readonly temperature?: number | undefined;
|
|
194
194
|
readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
|
|
195
195
|
readonly context_management?: readonly {
|
|
196
196
|
readonly type: "compaction";
|
|
@@ -314,6 +314,7 @@ export declare const routes: (Route<{
|
|
|
314
314
|
readonly stream: true;
|
|
315
315
|
readonly max_completion_tokens?: number | undefined;
|
|
316
316
|
readonly max_tokens?: number | undefined;
|
|
317
|
+
readonly temperature?: number | undefined;
|
|
317
318
|
readonly tools?: readonly {
|
|
318
319
|
readonly function: {
|
|
319
320
|
readonly description: string;
|
|
@@ -330,7 +331,6 @@ export declare const routes: (Route<{
|
|
|
330
331
|
} | undefined;
|
|
331
332
|
}[] | undefined;
|
|
332
333
|
readonly stop?: readonly string[] | undefined;
|
|
333
|
-
readonly temperature?: number | undefined;
|
|
334
334
|
readonly seed?: number | undefined;
|
|
335
335
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
336
336
|
readonly type: "function";
|
|
@@ -482,6 +482,7 @@ export declare const routes: (Route<{
|
|
|
482
482
|
readonly summary?: "auto" | "concise" | "detailed" | undefined;
|
|
483
483
|
readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
|
|
484
484
|
} | undefined;
|
|
485
|
+
readonly temperature?: number | undefined;
|
|
485
486
|
readonly tools?: readonly ({
|
|
486
487
|
readonly type: "function";
|
|
487
488
|
readonly description: string;
|
|
@@ -517,7 +518,6 @@ export declare const routes: (Route<{
|
|
|
517
518
|
readonly text?: {
|
|
518
519
|
readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
|
|
519
520
|
} | undefined;
|
|
520
|
-
readonly temperature?: number | undefined;
|
|
521
521
|
readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
|
|
522
522
|
readonly context_management?: readonly {
|
|
523
523
|
readonly type: "compaction";
|
|
@@ -99,6 +99,7 @@ export declare const route: Route<{
|
|
|
99
99
|
readonly stream: true;
|
|
100
100
|
readonly max_completion_tokens?: number | undefined;
|
|
101
101
|
readonly max_tokens?: number | undefined;
|
|
102
|
+
readonly temperature?: number | undefined;
|
|
102
103
|
readonly tools?: readonly {
|
|
103
104
|
readonly function: {
|
|
104
105
|
readonly description: string;
|
|
@@ -115,7 +116,6 @@ export declare const route: Route<{
|
|
|
115
116
|
} | undefined;
|
|
116
117
|
}[] | undefined;
|
|
117
118
|
readonly stop?: readonly string[] | undefined;
|
|
118
|
-
readonly temperature?: number | undefined;
|
|
119
119
|
readonly seed?: number | undefined;
|
|
120
120
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
121
121
|
readonly type: "function";
|
|
@@ -221,6 +221,7 @@ export declare const routes: Route<{
|
|
|
221
221
|
readonly stream: true;
|
|
222
222
|
readonly max_completion_tokens?: number | undefined;
|
|
223
223
|
readonly max_tokens?: number | undefined;
|
|
224
|
+
readonly temperature?: number | undefined;
|
|
224
225
|
readonly tools?: readonly {
|
|
225
226
|
readonly function: {
|
|
226
227
|
readonly description: string;
|
|
@@ -237,7 +238,6 @@ export declare const routes: Route<{
|
|
|
237
238
|
} | undefined;
|
|
238
239
|
}[] | undefined;
|
|
239
240
|
readonly stop?: readonly string[] | undefined;
|
|
240
|
-
readonly temperature?: number | undefined;
|
|
241
241
|
readonly seed?: number | undefined;
|
|
242
242
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
243
243
|
readonly type: "function";
|
|
@@ -99,6 +99,7 @@ export declare const route: Route<{
|
|
|
99
99
|
readonly stream: true;
|
|
100
100
|
readonly max_completion_tokens?: number | undefined;
|
|
101
101
|
readonly max_tokens?: number | undefined;
|
|
102
|
+
readonly temperature?: number | undefined;
|
|
102
103
|
readonly tools?: readonly {
|
|
103
104
|
readonly function: {
|
|
104
105
|
readonly description: string;
|
|
@@ -115,7 +116,6 @@ export declare const route: Route<{
|
|
|
115
116
|
} | undefined;
|
|
116
117
|
}[] | undefined;
|
|
117
118
|
readonly stop?: readonly string[] | undefined;
|
|
118
|
-
readonly temperature?: number | undefined;
|
|
119
119
|
readonly seed?: number | undefined;
|
|
120
120
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
121
121
|
readonly type: "function";
|
|
@@ -221,6 +221,7 @@ export declare const routes: Route<{
|
|
|
221
221
|
readonly stream: true;
|
|
222
222
|
readonly max_completion_tokens?: number | undefined;
|
|
223
223
|
readonly max_tokens?: number | undefined;
|
|
224
|
+
readonly temperature?: number | undefined;
|
|
224
225
|
readonly tools?: readonly {
|
|
225
226
|
readonly function: {
|
|
226
227
|
readonly description: string;
|
|
@@ -237,7 +238,6 @@ export declare const routes: Route<{
|
|
|
237
238
|
} | undefined;
|
|
238
239
|
}[] | undefined;
|
|
239
240
|
readonly stop?: readonly string[] | undefined;
|
|
240
|
-
readonly temperature?: number | undefined;
|
|
241
241
|
readonly seed?: number | undefined;
|
|
242
242
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
243
243
|
readonly type: "function";
|
|
@@ -161,6 +161,7 @@ export declare const responsesRoute: import("../route/client.js").Route<{
|
|
|
161
161
|
readonly summary?: "auto" | "concise" | "detailed" | undefined;
|
|
162
162
|
readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
|
|
163
163
|
} | undefined;
|
|
164
|
+
readonly temperature?: number | undefined;
|
|
164
165
|
readonly tools?: readonly ({
|
|
165
166
|
readonly type: "function";
|
|
166
167
|
readonly description: string;
|
|
@@ -196,7 +197,6 @@ export declare const responsesRoute: import("../route/client.js").Route<{
|
|
|
196
197
|
readonly text?: {
|
|
197
198
|
readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
|
|
198
199
|
} | undefined;
|
|
199
|
-
readonly temperature?: number | undefined;
|
|
200
200
|
readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
|
|
201
201
|
readonly context_management?: readonly {
|
|
202
202
|
readonly type: "compaction";
|
|
@@ -427,6 +427,7 @@ export declare const messagesRoute: import("../route/client.js").Route<{
|
|
|
427
427
|
readonly metadata?: {
|
|
428
428
|
readonly user_id?: string | null | undefined;
|
|
429
429
|
} | undefined;
|
|
430
|
+
readonly temperature?: number | undefined;
|
|
430
431
|
readonly tools?: readonly {
|
|
431
432
|
readonly description: string;
|
|
432
433
|
readonly name: string;
|
|
@@ -446,7 +447,6 @@ export declare const messagesRoute: import("../route/client.js").Route<{
|
|
|
446
447
|
readonly ttl?: "1h" | "5m" | undefined;
|
|
447
448
|
} | undefined;
|
|
448
449
|
}[] | undefined;
|
|
449
|
-
readonly temperature?: number | undefined;
|
|
450
450
|
readonly thinking?: {
|
|
451
451
|
readonly type: "enabled";
|
|
452
452
|
readonly budget_tokens: number;
|
|
@@ -594,6 +594,7 @@ export declare const route: import("../route/client.js").Route<{
|
|
|
594
594
|
readonly stream: true;
|
|
595
595
|
readonly max_completion_tokens?: number | undefined;
|
|
596
596
|
readonly max_tokens?: number | undefined;
|
|
597
|
+
readonly temperature?: number | undefined;
|
|
597
598
|
readonly tools?: readonly {
|
|
598
599
|
readonly function: {
|
|
599
600
|
readonly description: string;
|
|
@@ -610,7 +611,6 @@ export declare const route: import("../route/client.js").Route<{
|
|
|
610
611
|
} | undefined;
|
|
611
612
|
}[] | undefined;
|
|
612
613
|
readonly stop?: readonly string[] | undefined;
|
|
613
|
-
readonly temperature?: number | undefined;
|
|
614
614
|
readonly seed?: number | undefined;
|
|
615
615
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
616
616
|
readonly type: "function";
|
|
@@ -822,6 +822,7 @@ export declare const routes: (import("../route/client.js").Route<{
|
|
|
822
822
|
readonly metadata?: {
|
|
823
823
|
readonly user_id?: string | null | undefined;
|
|
824
824
|
} | undefined;
|
|
825
|
+
readonly temperature?: number | undefined;
|
|
825
826
|
readonly tools?: readonly {
|
|
826
827
|
readonly description: string;
|
|
827
828
|
readonly name: string;
|
|
@@ -841,7 +842,6 @@ export declare const routes: (import("../route/client.js").Route<{
|
|
|
841
842
|
readonly ttl?: "1h" | "5m" | undefined;
|
|
842
843
|
} | undefined;
|
|
843
844
|
}[] | undefined;
|
|
844
|
-
readonly temperature?: number | undefined;
|
|
845
845
|
readonly thinking?: {
|
|
846
846
|
readonly type: "enabled";
|
|
847
847
|
readonly budget_tokens: number;
|
|
@@ -988,6 +988,7 @@ export declare const routes: (import("../route/client.js").Route<{
|
|
|
988
988
|
readonly stream: true;
|
|
989
989
|
readonly max_completion_tokens?: number | undefined;
|
|
990
990
|
readonly max_tokens?: number | undefined;
|
|
991
|
+
readonly temperature?: number | undefined;
|
|
991
992
|
readonly tools?: readonly {
|
|
992
993
|
readonly function: {
|
|
993
994
|
readonly description: string;
|
|
@@ -1004,7 +1005,6 @@ export declare const routes: (import("../route/client.js").Route<{
|
|
|
1004
1005
|
} | undefined;
|
|
1005
1006
|
}[] | undefined;
|
|
1006
1007
|
readonly stop?: readonly string[] | undefined;
|
|
1007
|
-
readonly temperature?: number | undefined;
|
|
1008
1008
|
readonly seed?: number | undefined;
|
|
1009
1009
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
1010
1010
|
readonly type: "function";
|
|
@@ -1156,6 +1156,7 @@ export declare const routes: (import("../route/client.js").Route<{
|
|
|
1156
1156
|
readonly summary?: "auto" | "concise" | "detailed" | undefined;
|
|
1157
1157
|
readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
|
|
1158
1158
|
} | undefined;
|
|
1159
|
+
readonly temperature?: number | undefined;
|
|
1159
1160
|
readonly tools?: readonly ({
|
|
1160
1161
|
readonly type: "function";
|
|
1161
1162
|
readonly description: string;
|
|
@@ -1191,7 +1192,6 @@ export declare const routes: (import("../route/client.js").Route<{
|
|
|
1191
1192
|
readonly text?: {
|
|
1192
1193
|
readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
|
|
1193
1194
|
} | undefined;
|
|
1194
|
-
readonly temperature?: number | undefined;
|
|
1195
1195
|
readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
|
|
1196
1196
|
readonly context_management?: readonly {
|
|
1197
1197
|
readonly type: "compaction";
|
|
@@ -103,6 +103,7 @@ export declare const route: Route<{
|
|
|
103
103
|
readonly stream: true;
|
|
104
104
|
readonly max_completion_tokens?: number | undefined;
|
|
105
105
|
readonly max_tokens?: number | undefined;
|
|
106
|
+
readonly temperature?: number | undefined;
|
|
106
107
|
readonly tools?: readonly {
|
|
107
108
|
readonly function: {
|
|
108
109
|
readonly description: string;
|
|
@@ -119,7 +120,6 @@ export declare const route: Route<{
|
|
|
119
120
|
} | undefined;
|
|
120
121
|
}[] | undefined;
|
|
121
122
|
readonly stop?: readonly string[] | undefined;
|
|
122
|
-
readonly temperature?: number | undefined;
|
|
123
123
|
readonly seed?: number | undefined;
|
|
124
124
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
125
125
|
readonly type: "function";
|
|
@@ -225,6 +225,7 @@ export declare const routes: Route<{
|
|
|
225
225
|
readonly stream: true;
|
|
226
226
|
readonly max_completion_tokens?: number | undefined;
|
|
227
227
|
readonly max_tokens?: number | undefined;
|
|
228
|
+
readonly temperature?: number | undefined;
|
|
228
229
|
readonly tools?: readonly {
|
|
229
230
|
readonly function: {
|
|
230
231
|
readonly description: string;
|
|
@@ -241,7 +242,6 @@ export declare const routes: Route<{
|
|
|
241
242
|
} | undefined;
|
|
242
243
|
}[] | undefined;
|
|
243
244
|
readonly stop?: readonly string[] | undefined;
|
|
244
|
-
readonly temperature?: number | undefined;
|
|
245
245
|
readonly seed?: number | undefined;
|
|
246
246
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
247
247
|
readonly type: "function";
|
|
@@ -45,6 +45,7 @@ export declare const route: Route<{
|
|
|
45
45
|
}[];
|
|
46
46
|
readonly stream: true;
|
|
47
47
|
readonly max_tokens?: number | undefined;
|
|
48
|
+
readonly temperature?: number | undefined;
|
|
48
49
|
readonly tools?: readonly {
|
|
49
50
|
readonly type: "function";
|
|
50
51
|
readonly function: {
|
|
@@ -53,7 +54,6 @@ export declare const route: Route<{
|
|
|
53
54
|
readonly description?: string | undefined;
|
|
54
55
|
};
|
|
55
56
|
}[] | undefined;
|
|
56
|
-
readonly temperature?: number | undefined;
|
|
57
57
|
readonly seed?: number | undefined;
|
|
58
58
|
readonly thinking?: {
|
|
59
59
|
readonly type: string;
|
|
@@ -153,6 +153,7 @@ export declare const chatRoute: Route<{
|
|
|
153
153
|
readonly stream: true;
|
|
154
154
|
readonly max_completion_tokens?: number | undefined;
|
|
155
155
|
readonly max_tokens?: number | undefined;
|
|
156
|
+
readonly temperature?: number | undefined;
|
|
156
157
|
readonly tools?: readonly {
|
|
157
158
|
readonly function: {
|
|
158
159
|
readonly description: string;
|
|
@@ -169,7 +170,6 @@ export declare const chatRoute: Route<{
|
|
|
169
170
|
} | undefined;
|
|
170
171
|
}[] | undefined;
|
|
171
172
|
readonly stop?: readonly string[] | undefined;
|
|
172
|
-
readonly temperature?: number | undefined;
|
|
173
173
|
readonly seed?: number | undefined;
|
|
174
174
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
175
175
|
readonly type: "function";
|
|
@@ -217,6 +217,7 @@ export declare const routes: (Route<{
|
|
|
217
217
|
}[];
|
|
218
218
|
readonly stream: true;
|
|
219
219
|
readonly max_tokens?: number | undefined;
|
|
220
|
+
readonly temperature?: number | undefined;
|
|
220
221
|
readonly tools?: readonly {
|
|
221
222
|
readonly type: "function";
|
|
222
223
|
readonly function: {
|
|
@@ -225,7 +226,6 @@ export declare const routes: (Route<{
|
|
|
225
226
|
readonly description?: string | undefined;
|
|
226
227
|
};
|
|
227
228
|
}[] | undefined;
|
|
228
|
-
readonly temperature?: number | undefined;
|
|
229
229
|
readonly seed?: number | undefined;
|
|
230
230
|
readonly thinking?: {
|
|
231
231
|
readonly type: string;
|
|
@@ -324,6 +324,7 @@ export declare const routes: (Route<{
|
|
|
324
324
|
readonly stream: true;
|
|
325
325
|
readonly max_completion_tokens?: number | undefined;
|
|
326
326
|
readonly max_tokens?: number | undefined;
|
|
327
|
+
readonly temperature?: number | undefined;
|
|
327
328
|
readonly tools?: readonly {
|
|
328
329
|
readonly function: {
|
|
329
330
|
readonly description: string;
|
|
@@ -340,7 +341,6 @@ export declare const routes: (Route<{
|
|
|
340
341
|
} | undefined;
|
|
341
342
|
}[] | undefined;
|
|
342
343
|
readonly stop?: readonly string[] | undefined;
|
|
343
|
-
readonly temperature?: number | undefined;
|
|
344
344
|
readonly seed?: number | undefined;
|
|
345
345
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
346
346
|
readonly type: "function";
|
|
@@ -99,6 +99,7 @@ export declare const route: Route<{
|
|
|
99
99
|
readonly stream: true;
|
|
100
100
|
readonly max_completion_tokens?: number | undefined;
|
|
101
101
|
readonly max_tokens?: number | undefined;
|
|
102
|
+
readonly temperature?: number | undefined;
|
|
102
103
|
readonly tools?: readonly {
|
|
103
104
|
readonly function: {
|
|
104
105
|
readonly description: string;
|
|
@@ -115,7 +116,6 @@ export declare const route: Route<{
|
|
|
115
116
|
} | undefined;
|
|
116
117
|
}[] | undefined;
|
|
117
118
|
readonly stop?: readonly string[] | undefined;
|
|
118
|
-
readonly temperature?: number | undefined;
|
|
119
119
|
readonly seed?: number | undefined;
|
|
120
120
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
121
121
|
readonly type: "function";
|
|
@@ -221,6 +221,7 @@ export declare const routes: Route<{
|
|
|
221
221
|
readonly stream: true;
|
|
222
222
|
readonly max_completion_tokens?: number | undefined;
|
|
223
223
|
readonly max_tokens?: number | undefined;
|
|
224
|
+
readonly temperature?: number | undefined;
|
|
224
225
|
readonly tools?: readonly {
|
|
225
226
|
readonly function: {
|
|
226
227
|
readonly description: string;
|
|
@@ -237,7 +238,6 @@ export declare const routes: Route<{
|
|
|
237
238
|
} | undefined;
|
|
238
239
|
}[] | undefined;
|
|
239
240
|
readonly stop?: readonly string[] | undefined;
|
|
240
|
-
readonly temperature?: number | undefined;
|
|
241
241
|
readonly seed?: number | undefined;
|
|
242
242
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
243
243
|
readonly type: "function";
|
|
@@ -99,6 +99,7 @@ export declare const route: Route<{
|
|
|
99
99
|
readonly stream: true;
|
|
100
100
|
readonly max_completion_tokens?: number | undefined;
|
|
101
101
|
readonly max_tokens?: number | undefined;
|
|
102
|
+
readonly temperature?: number | undefined;
|
|
102
103
|
readonly tools?: readonly {
|
|
103
104
|
readonly function: {
|
|
104
105
|
readonly description: string;
|
|
@@ -115,7 +116,6 @@ export declare const route: Route<{
|
|
|
115
116
|
} | undefined;
|
|
116
117
|
}[] | undefined;
|
|
117
118
|
readonly stop?: readonly string[] | undefined;
|
|
118
|
-
readonly temperature?: number | undefined;
|
|
119
119
|
readonly seed?: number | undefined;
|
|
120
120
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
121
121
|
readonly type: "function";
|
|
@@ -221,6 +221,7 @@ export declare const routes: Route<{
|
|
|
221
221
|
readonly stream: true;
|
|
222
222
|
readonly max_completion_tokens?: number | undefined;
|
|
223
223
|
readonly max_tokens?: number | undefined;
|
|
224
|
+
readonly temperature?: number | undefined;
|
|
224
225
|
readonly tools?: readonly {
|
|
225
226
|
readonly function: {
|
|
226
227
|
readonly description: string;
|
|
@@ -237,7 +238,6 @@ export declare const routes: Route<{
|
|
|
237
238
|
} | undefined;
|
|
238
239
|
}[] | undefined;
|
|
239
240
|
readonly stop?: readonly string[] | undefined;
|
|
240
|
-
readonly temperature?: number | undefined;
|
|
241
241
|
readonly seed?: number | undefined;
|
|
242
242
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
243
243
|
readonly type: "function";
|
|
@@ -100,6 +100,7 @@ export declare const protocol: Protocol<{
|
|
|
100
100
|
readonly stream: true;
|
|
101
101
|
readonly max_completion_tokens?: number | undefined;
|
|
102
102
|
readonly max_tokens?: number | undefined;
|
|
103
|
+
readonly temperature?: number | undefined;
|
|
103
104
|
readonly tools?: readonly {
|
|
104
105
|
readonly function: {
|
|
105
106
|
readonly description: string;
|
|
@@ -116,7 +117,6 @@ export declare const protocol: Protocol<{
|
|
|
116
117
|
} | undefined;
|
|
117
118
|
}[] | undefined;
|
|
118
119
|
readonly stop?: readonly string[] | undefined;
|
|
119
|
-
readonly temperature?: number | undefined;
|
|
120
120
|
readonly seed?: number | undefined;
|
|
121
121
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
122
122
|
readonly type: "function";
|
|
@@ -294,6 +294,7 @@ export declare const route: Route<{
|
|
|
294
294
|
readonly stream: true;
|
|
295
295
|
readonly max_completion_tokens?: number | undefined;
|
|
296
296
|
readonly max_tokens?: number | undefined;
|
|
297
|
+
readonly temperature?: number | undefined;
|
|
297
298
|
readonly tools?: readonly {
|
|
298
299
|
readonly function: {
|
|
299
300
|
readonly description: string;
|
|
@@ -310,7 +311,6 @@ export declare const route: Route<{
|
|
|
310
311
|
} | undefined;
|
|
311
312
|
}[] | undefined;
|
|
312
313
|
readonly stop?: readonly string[] | undefined;
|
|
313
|
-
readonly temperature?: number | undefined;
|
|
314
314
|
readonly seed?: number | undefined;
|
|
315
315
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
316
316
|
readonly type: "function";
|
|
@@ -416,6 +416,7 @@ export declare const routes: Route<{
|
|
|
416
416
|
readonly stream: true;
|
|
417
417
|
readonly max_completion_tokens?: number | undefined;
|
|
418
418
|
readonly max_tokens?: number | undefined;
|
|
419
|
+
readonly temperature?: number | undefined;
|
|
419
420
|
readonly tools?: readonly {
|
|
420
421
|
readonly function: {
|
|
421
422
|
readonly description: string;
|
|
@@ -432,7 +433,6 @@ export declare const routes: Route<{
|
|
|
432
433
|
} | undefined;
|
|
433
434
|
}[] | undefined;
|
|
434
435
|
readonly stop?: readonly string[] | undefined;
|
|
435
|
-
readonly temperature?: number | undefined;
|
|
436
436
|
readonly seed?: number | undefined;
|
|
437
437
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
438
438
|
readonly type: "function";
|
|
@@ -99,6 +99,7 @@ export declare const route: Route<{
|
|
|
99
99
|
readonly stream: true;
|
|
100
100
|
readonly max_completion_tokens?: number | undefined;
|
|
101
101
|
readonly max_tokens?: number | undefined;
|
|
102
|
+
readonly temperature?: number | undefined;
|
|
102
103
|
readonly tools?: readonly {
|
|
103
104
|
readonly function: {
|
|
104
105
|
readonly description: string;
|
|
@@ -115,7 +116,6 @@ export declare const route: Route<{
|
|
|
115
116
|
} | undefined;
|
|
116
117
|
}[] | undefined;
|
|
117
118
|
readonly stop?: readonly string[] | undefined;
|
|
118
|
-
readonly temperature?: number | undefined;
|
|
119
119
|
readonly seed?: number | undefined;
|
|
120
120
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
121
121
|
readonly type: "function";
|
|
@@ -221,6 +221,7 @@ export declare const routes: Route<{
|
|
|
221
221
|
readonly stream: true;
|
|
222
222
|
readonly max_completion_tokens?: number | undefined;
|
|
223
223
|
readonly max_tokens?: number | undefined;
|
|
224
|
+
readonly temperature?: number | undefined;
|
|
224
225
|
readonly tools?: readonly {
|
|
225
226
|
readonly function: {
|
|
226
227
|
readonly description: string;
|
|
@@ -237,7 +238,6 @@ export declare const routes: Route<{
|
|
|
237
238
|
} | undefined;
|
|
238
239
|
}[] | undefined;
|
|
239
240
|
readonly stop?: readonly string[] | undefined;
|
|
240
|
-
readonly temperature?: number | undefined;
|
|
241
241
|
readonly seed?: number | undefined;
|
|
242
242
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
243
243
|
readonly type: "function";
|
|
@@ -104,6 +104,7 @@ export declare const routes: Route<{
|
|
|
104
104
|
readonly stream: true;
|
|
105
105
|
readonly max_completion_tokens?: number | undefined;
|
|
106
106
|
readonly max_tokens?: number | undefined;
|
|
107
|
+
readonly temperature?: number | undefined;
|
|
107
108
|
readonly tools?: readonly {
|
|
108
109
|
readonly function: {
|
|
109
110
|
readonly description: string;
|
|
@@ -120,7 +121,6 @@ export declare const routes: Route<{
|
|
|
120
121
|
} | undefined;
|
|
121
122
|
}[] | undefined;
|
|
122
123
|
readonly stop?: readonly string[] | undefined;
|
|
123
|
-
readonly temperature?: number | undefined;
|
|
124
124
|
readonly seed?: number | undefined;
|
|
125
125
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
126
126
|
readonly type: "function";
|
|
@@ -26,6 +26,7 @@ export declare const routes: Route<{
|
|
|
26
26
|
readonly user_id?: string | null | undefined;
|
|
27
27
|
} | undefined;
|
|
28
28
|
max_tokens: number;
|
|
29
|
+
temperature?: number | undefined;
|
|
29
30
|
tools?: readonly {
|
|
30
31
|
readonly description: string;
|
|
31
32
|
readonly name: string;
|
|
@@ -231,7 +232,6 @@ export declare const routes: Route<{
|
|
|
231
232
|
readonly effort: string;
|
|
232
233
|
} | undefined;
|
|
233
234
|
})[];
|
|
234
|
-
temperature?: number | undefined;
|
|
235
235
|
stream: true;
|
|
236
236
|
thinking?: {
|
|
237
237
|
readonly type: "enabled";
|