@opencode/ai 2.0.30 → 2.0.31
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/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/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
|
@@ -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";
|
|
@@ -20,6 +20,7 @@ export type Settings = ProviderPackage.Settings & MistralChat.ProviderOptionsInp
|
|
|
20
20
|
};
|
|
21
21
|
export declare const routes: Route<{
|
|
22
22
|
readonly max_tokens?: number | undefined;
|
|
23
|
+
readonly temperature?: number | undefined;
|
|
23
24
|
readonly tools?: readonly {
|
|
24
25
|
readonly type: "function";
|
|
25
26
|
readonly function: {
|
|
@@ -89,7 +90,6 @@ export declare const routes: Route<{
|
|
|
89
90
|
readonly document_url: string;
|
|
90
91
|
})[];
|
|
91
92
|
})[];
|
|
92
|
-
readonly temperature?: number | undefined;
|
|
93
93
|
readonly stream: true;
|
|
94
94
|
readonly tool_choice?: "auto" | "none" | "any" | {
|
|
95
95
|
readonly type: "function";
|
|
@@ -151,6 +151,7 @@ export declare const routes: Route<{
|
|
|
151
151
|
readonly summary?: "auto" | "concise" | "detailed" | undefined;
|
|
152
152
|
readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
|
|
153
153
|
} | undefined;
|
|
154
|
+
readonly temperature?: number | undefined;
|
|
154
155
|
readonly tools?: readonly ({
|
|
155
156
|
readonly [x: string]: unknown;
|
|
156
157
|
readonly type: string;
|
|
@@ -166,7 +167,6 @@ export declare const routes: Route<{
|
|
|
166
167
|
readonly text?: {
|
|
167
168
|
readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
|
|
168
169
|
} | undefined;
|
|
169
|
-
readonly temperature?: number | undefined;
|
|
170
170
|
readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
|
|
171
171
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
172
172
|
readonly type: "function";
|
package/dist/providers/groq.d.ts
CHANGED
|
@@ -108,6 +108,7 @@ export declare const protocol: Protocol<{
|
|
|
108
108
|
readonly stream: true;
|
|
109
109
|
readonly max_completion_tokens?: number | undefined;
|
|
110
110
|
readonly max_tokens?: number | undefined;
|
|
111
|
+
readonly temperature?: number | undefined;
|
|
111
112
|
readonly tools?: readonly {
|
|
112
113
|
readonly function: {
|
|
113
114
|
readonly description: string;
|
|
@@ -125,7 +126,6 @@ export declare const protocol: Protocol<{
|
|
|
125
126
|
}[] | undefined;
|
|
126
127
|
readonly stop?: readonly string[] | undefined;
|
|
127
128
|
readonly user?: string | undefined;
|
|
128
|
-
readonly temperature?: number | undefined;
|
|
129
129
|
readonly seed?: number | undefined;
|
|
130
130
|
readonly service_tier?: string | undefined;
|
|
131
131
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
@@ -307,6 +307,7 @@ export declare const route: Route<{
|
|
|
307
307
|
readonly stream: true;
|
|
308
308
|
readonly max_completion_tokens?: number | undefined;
|
|
309
309
|
readonly max_tokens?: number | undefined;
|
|
310
|
+
readonly temperature?: number | undefined;
|
|
310
311
|
readonly tools?: readonly {
|
|
311
312
|
readonly function: {
|
|
312
313
|
readonly description: string;
|
|
@@ -324,7 +325,6 @@ export declare const route: Route<{
|
|
|
324
325
|
}[] | undefined;
|
|
325
326
|
readonly stop?: readonly string[] | undefined;
|
|
326
327
|
readonly user?: string | undefined;
|
|
327
|
-
readonly temperature?: number | undefined;
|
|
328
328
|
readonly seed?: number | undefined;
|
|
329
329
|
readonly service_tier?: string | undefined;
|
|
330
330
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
package/dist/providers/meta.d.ts
CHANGED
|
@@ -125,6 +125,7 @@ export declare const routes: (Route<{
|
|
|
125
125
|
readonly stream: true;
|
|
126
126
|
readonly max_completion_tokens?: number | undefined;
|
|
127
127
|
readonly max_tokens?: number | undefined;
|
|
128
|
+
readonly temperature?: number | undefined;
|
|
128
129
|
readonly tools?: readonly {
|
|
129
130
|
readonly function: {
|
|
130
131
|
readonly description: string;
|
|
@@ -141,7 +142,6 @@ export declare const routes: (Route<{
|
|
|
141
142
|
} | undefined;
|
|
142
143
|
}[] | undefined;
|
|
143
144
|
readonly stop?: readonly string[] | undefined;
|
|
144
|
-
readonly temperature?: number | undefined;
|
|
145
145
|
readonly seed?: number | undefined;
|
|
146
146
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
147
147
|
readonly type: "function";
|
|
@@ -293,6 +293,7 @@ export declare const routes: (Route<{
|
|
|
293
293
|
readonly summary?: "auto" | "concise" | "detailed" | undefined;
|
|
294
294
|
readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
|
|
295
295
|
} | undefined;
|
|
296
|
+
readonly temperature?: number | undefined;
|
|
296
297
|
readonly tools?: readonly ({
|
|
297
298
|
readonly [x: string]: unknown;
|
|
298
299
|
readonly type: string;
|
|
@@ -308,7 +309,6 @@ export declare const routes: (Route<{
|
|
|
308
309
|
readonly text?: {
|
|
309
310
|
readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
|
|
310
311
|
} | undefined;
|
|
311
|
-
readonly temperature?: number | undefined;
|
|
312
312
|
readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
|
|
313
313
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
314
314
|
readonly type: "function";
|
|
@@ -529,6 +529,7 @@ export declare const routes: (Route<{
|
|
|
529
529
|
readonly metadata?: {
|
|
530
530
|
readonly user_id?: string | null | undefined;
|
|
531
531
|
} | undefined;
|
|
532
|
+
readonly temperature?: number | undefined;
|
|
532
533
|
readonly tools?: readonly ({
|
|
533
534
|
readonly type: "web_search";
|
|
534
535
|
readonly name: "web_search";
|
|
@@ -558,7 +559,6 @@ export declare const routes: (Route<{
|
|
|
558
559
|
readonly ttl?: "1h" | "5m" | undefined;
|
|
559
560
|
} | undefined;
|
|
560
561
|
}[] | undefined;
|
|
561
|
-
readonly temperature?: number | undefined;
|
|
562
562
|
readonly thinking?: {
|
|
563
563
|
readonly type: "enabled";
|
|
564
564
|
readonly budget_tokens: number;
|
|
@@ -226,6 +226,7 @@ export declare const routes: (Route<{
|
|
|
226
226
|
readonly metadata?: {
|
|
227
227
|
readonly user_id?: string | null | undefined;
|
|
228
228
|
} | undefined;
|
|
229
|
+
readonly temperature?: number | undefined;
|
|
229
230
|
readonly tools?: readonly {
|
|
230
231
|
readonly description: string;
|
|
231
232
|
readonly name: string;
|
|
@@ -245,7 +246,6 @@ export declare const routes: (Route<{
|
|
|
245
246
|
readonly ttl?: "1h" | "5m" | undefined;
|
|
246
247
|
} | undefined;
|
|
247
248
|
}[] | undefined;
|
|
248
|
-
readonly temperature?: number | undefined;
|
|
249
249
|
readonly thinking?: {
|
|
250
250
|
readonly type: "enabled";
|
|
251
251
|
readonly budget_tokens: number;
|
|
@@ -439,6 +439,7 @@ export declare const routes: (Route<{
|
|
|
439
439
|
readonly summary?: "auto" | "concise" | "detailed" | undefined;
|
|
440
440
|
readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
|
|
441
441
|
} | undefined;
|
|
442
|
+
readonly temperature?: number | undefined;
|
|
442
443
|
readonly tools?: readonly ({
|
|
443
444
|
readonly [x: string]: unknown;
|
|
444
445
|
readonly type: string;
|
|
@@ -454,7 +455,6 @@ export declare const routes: (Route<{
|
|
|
454
455
|
readonly text?: {
|
|
455
456
|
readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
|
|
456
457
|
} | undefined;
|
|
457
|
-
readonly temperature?: number | undefined;
|
|
458
458
|
readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
|
|
459
459
|
readonly tool_choice?: "required" | "auto" | "none" | {
|
|
460
460
|
readonly type: "function";
|
|
@@ -570,6 +570,7 @@ export declare const routes: (Route<{
|
|
|
570
570
|
readonly reasoning_split: boolean;
|
|
571
571
|
readonly max_completion_tokens?: number | undefined;
|
|
572
572
|
readonly max_tokens?: number | undefined;
|
|
573
|
+
readonly temperature?: number | undefined;
|
|
573
574
|
readonly tools?: readonly {
|
|
574
575
|
readonly function: {
|
|
575
576
|
readonly description: string;
|
|
@@ -586,7 +587,6 @@ export declare const routes: (Route<{
|
|
|
586
587
|
} | undefined;
|
|
587
588
|
}[] | undefined;
|
|
588
589
|
readonly stop?: readonly string[] | undefined;
|
|
589
|
-
readonly temperature?: number | undefined;
|
|
590
590
|
readonly seed?: number | undefined;
|
|
591
591
|
readonly thinking?: {
|
|
592
592
|
readonly type: string;
|