@opencode/ai 2.0.31 → 2.1.0

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.
Files changed (152) hide show
  1. package/dist/ai-client.d.ts +2 -2
  2. package/dist/experimental/evaluation-client.d.ts +1 -1
  3. package/dist/experimental/evaluation.d.ts +20 -20
  4. package/dist/experimental/realtime.d.ts +47 -0
  5. package/dist/experimental/realtime.js +99 -0
  6. package/dist/experimental/system-one.d.ts +1 -1
  7. package/dist/experimental.d.ts +2 -0
  8. package/dist/experimental.js +1 -0
  9. package/dist/image-client.d.ts +8 -8
  10. package/dist/image.d.ts +593 -437
  11. package/dist/llm.d.ts +51 -51
  12. package/dist/media-client.d.ts +1 -1
  13. package/dist/media.d.ts +4 -4
  14. package/dist/promise.d.ts +199 -198
  15. package/dist/protocols/alibaba-chat.d.ts +81 -82
  16. package/dist/protocols/alibaba-chat.js +0 -1
  17. package/dist/protocols/alibaba-messages.d.ts +99 -99
  18. package/dist/protocols/alibaba-responses.d.ts +120 -120
  19. package/dist/protocols/anthropic-messages.d.ts +187 -187
  20. package/dist/protocols/anthropic-messages.js +3 -2
  21. package/dist/protocols/assemblyai-transcription.d.ts +1 -1
  22. package/dist/protocols/bedrock-converse.d.ts +75 -79
  23. package/dist/protocols/bfl-images.d.ts +1 -1
  24. package/dist/protocols/cartesia-speech.d.ts +17 -17
  25. package/dist/protocols/cohere-chat.d.ts +26 -23
  26. package/dist/protocols/cohere-chat.js +22 -1
  27. package/dist/protocols/deepgram-speech.d.ts +17 -17
  28. package/dist/protocols/deepgram-transcription.d.ts +1 -1
  29. package/dist/protocols/elevenlabs-speech.d.ts +17 -17
  30. package/dist/protocols/elevenlabs-transcription.d.ts +1 -1
  31. package/dist/protocols/fal-images.d.ts +1 -1
  32. package/dist/protocols/fal-video.d.ts +1 -1
  33. package/dist/protocols/gemini.d.ts +55 -55
  34. package/dist/protocols/gemini.js +11 -1
  35. package/dist/protocols/google-images.d.ts +1 -1
  36. package/dist/protocols/google-interactions.d.ts +64 -62
  37. package/dist/protocols/google-interactions.js +19 -1
  38. package/dist/protocols/google-speech.d.ts +17 -17
  39. package/dist/protocols/google-transcription.d.ts +47 -47
  40. package/dist/protocols/google-video.d.ts +1 -1
  41. package/dist/protocols/meta-messages.d.ts +121 -121
  42. package/dist/protocols/meta-responses.d.ts +201 -201
  43. package/dist/protocols/mistral-chat.d.ts +45 -45
  44. package/dist/protocols/open-responses-channel.d.ts +1 -1
  45. package/dist/protocols/open-responses.d.ts +584 -450
  46. package/dist/protocols/open-responses.js +27 -35
  47. package/dist/protocols/openai-chat.d.ts +248 -248
  48. package/dist/protocols/openai-chat.js +11 -42
  49. package/dist/protocols/openai-compatible-chat.d.ts +32 -32
  50. package/dist/protocols/openai-compatible-responses.d.ts +88 -88
  51. package/dist/protocols/openai-images.d.ts +17 -17
  52. package/dist/protocols/openai-responses.d.ts +567 -567
  53. package/dist/protocols/openai-responses.js +1 -1
  54. package/dist/protocols/openai-speech.d.ts +17 -17
  55. package/dist/protocols/openai-transcription.d.ts +47 -47
  56. package/dist/protocols/replicate-images.d.ts +1 -1
  57. package/dist/protocols/runway-video.d.ts +1 -1
  58. package/dist/protocols/shared.d.ts +12 -1
  59. package/dist/protocols/shared.js +17 -1
  60. package/dist/protocols/stability-images.d.ts +2 -2
  61. package/dist/protocols/utils/bedrock-cache.d.ts +2 -2
  62. package/dist/protocols/utils/bedrock-media.d.ts +4 -4
  63. package/dist/protocols/utils/openai-options.d.ts +1 -1
  64. package/dist/protocols/utils/speech-stream.d.ts +1 -1
  65. package/dist/protocols/utils/tool-schema.d.ts +10 -5
  66. package/dist/protocols/utils/tool-stream.d.ts +152 -152
  67. package/dist/protocols/venice-chat.d.ts +109 -110
  68. package/dist/protocols/venice-chat.js +0 -1
  69. package/dist/protocols/xai-images.d.ts +1 -1
  70. package/dist/protocols/xai-responses.d.ts +79 -79
  71. package/dist/protocols/xai-video.d.ts +1 -1
  72. package/dist/protocols/zai-chat.d.ts +77 -78
  73. package/dist/protocols/zai-chat.js +0 -1
  74. package/dist/protocols/zai-images.d.ts +1 -1
  75. package/dist/protocols/zai-messages.d.ts +97 -97
  76. package/dist/providers/alibaba.d.ts +222 -283
  77. package/dist/providers/amazon-bedrock-mantle.d.ts +291 -298
  78. package/dist/providers/amazon-bedrock.d.ts +22 -28
  79. package/dist/providers/anthropic-compatible.d.ts +86 -90
  80. package/dist/providers/anthropic.d.ts +86 -90
  81. package/dist/providers/assemblyai.d.ts +2 -6
  82. package/dist/providers/azure.d.ts +228 -238
  83. package/dist/providers/baseten.d.ts +66 -70
  84. package/dist/providers/black-forest-labs.d.ts +2 -6
  85. package/dist/providers/cartesia.d.ts +2 -6
  86. package/dist/providers/cerebras.d.ts +66 -70
  87. package/dist/providers/cerebras.js +0 -1
  88. package/dist/providers/cloudflare-ai-gateway.d.ts +352 -356
  89. package/dist/providers/cloudflare-workers-ai.d.ts +66 -70
  90. package/dist/providers/cohere.d.ts +122 -132
  91. package/dist/providers/cohere.js +0 -2
  92. package/dist/providers/deepgram.d.ts +2 -7
  93. package/dist/providers/deepinfra.d.ts +66 -70
  94. package/dist/providers/deepinfra.js +0 -1
  95. package/dist/providers/deepseek.d.ts +66 -70
  96. package/dist/providers/deepseek.js +1 -1
  97. package/dist/providers/digitalocean.d.ts +137 -141
  98. package/dist/providers/elevenlabs.d.ts +2 -7
  99. package/dist/providers/fal.d.ts +2 -7
  100. package/dist/providers/fireworks.d.ts +66 -70
  101. package/dist/providers/google-vertex-chat.d.ts +34 -38
  102. package/dist/providers/google-vertex-interactions.d.ts +31 -41
  103. package/dist/providers/google-vertex-messages.d.ts +81 -85
  104. package/dist/providers/google-vertex-mistral.d.ts +23 -27
  105. package/dist/providers/google-vertex-responses.d.ts +90 -94
  106. package/dist/providers/google-vertex.d.ts +26 -30
  107. package/dist/providers/google.d.ts +94 -109
  108. package/dist/providers/groq.d.ts +111 -115
  109. package/dist/providers/groq.js +0 -1
  110. package/dist/providers/meta.d.ts +309 -317
  111. package/dist/providers/meta.js +1 -1
  112. package/dist/providers/minimax.d.ts +296 -303
  113. package/dist/providers/minimax.js +1 -1
  114. package/dist/providers/mistral.d.ts +22 -26
  115. package/dist/providers/moonshot.d.ts +296 -303
  116. package/dist/providers/moonshot.js +0 -1
  117. package/dist/providers/openai-compatible-responses.d.ts +90 -94
  118. package/dist/providers/openai-compatible.d.ts +34 -38
  119. package/dist/providers/openai.d.ts +93 -108
  120. package/dist/providers/opencode.d.ts +2 -8
  121. package/dist/providers/openrouter.d.ts +137 -144
  122. package/dist/providers/replicate.d.ts +2 -6
  123. package/dist/providers/runway.d.ts +2 -6
  124. package/dist/providers/stability.d.ts +2 -7
  125. package/dist/providers/togetherai.d.ts +66 -70
  126. package/dist/providers/togetherai.js +1 -1
  127. package/dist/providers/typesafe-ai.d.ts +2 -8
  128. package/dist/providers/venice.d.ts +58 -63
  129. package/dist/providers/vercel-ai-gateway.d.ts +2 -12
  130. package/dist/providers/xai.d.ts +38 -50
  131. package/dist/providers/zai-coding-plan.d.ts +206 -213
  132. package/dist/providers/zai.d.ts +40 -46
  133. package/dist/route/client.d.ts +51 -51
  134. package/dist/route/media-protocol.d.ts +1 -1
  135. package/dist/route/transport/http.d.ts +1 -1
  136. package/dist/route/transport/websocket.d.ts +8 -8
  137. package/dist/schema/errors.d.ts +19 -19
  138. package/dist/schema/events.d.ts +3090 -3288
  139. package/dist/schema/messages.d.ts +8 -7
  140. package/dist/schema/options.d.ts +2 -1
  141. package/dist/schema/options.js +2 -1
  142. package/dist/speech-client.d.ts +8 -8
  143. package/dist/speech.d.ts +434 -398
  144. package/dist/testing.d.ts +338 -338
  145. package/dist/tool-runtime.d.ts +1 -1
  146. package/dist/transcription-client.d.ts +23 -23
  147. package/dist/transcription.d.ts +562 -646
  148. package/dist/utils/sanitize.d.ts +4 -0
  149. package/dist/utils/sanitize.js +23 -6
  150. package/dist/video-client.d.ts +8 -8
  151. package/dist/video.d.ts +416 -372
  152. package/package.json +6 -6
@@ -65,8 +65,20 @@ export declare const protocol: Protocol<{
65
65
  readonly file_data: string;
66
66
  };
67
67
  })[];
68
+ } | {
69
+ readonly role: "tool";
70
+ readonly tool_call_id: string;
71
+ readonly content: string | readonly {
72
+ readonly type: "text";
73
+ readonly text: string;
74
+ readonly cache_control?: {
75
+ readonly type: "ephemeral";
76
+ readonly ttl?: string | undefined;
77
+ } | undefined;
78
+ }[];
68
79
  } | {
69
80
  readonly [x: string]: unknown;
81
+ readonly role: "assistant";
70
82
  readonly content: string | readonly {
71
83
  readonly type: "text";
72
84
  readonly text: string;
@@ -75,140 +87,104 @@ export declare const protocol: Protocol<{
75
87
  readonly ttl?: string | undefined;
76
88
  } | undefined;
77
89
  }[] | null;
78
- readonly role: "assistant";
79
- readonly reasoning?: string | undefined;
80
- readonly reasoning_content?: string | undefined;
81
- readonly reasoning_text?: string | undefined;
82
90
  readonly tool_calls?: readonly {
91
+ readonly id: string;
92
+ readonly type: "function";
83
93
  readonly function: {
84
94
  readonly name: string;
85
95
  readonly arguments: string;
86
96
  };
87
- readonly id: string;
88
- readonly type: "function";
89
97
  readonly extra_content?: {
90
98
  readonly google: {
91
99
  readonly thought_signature: string;
92
100
  };
93
101
  } | undefined;
94
102
  }[] | undefined;
103
+ readonly reasoning_content?: string | undefined;
104
+ readonly reasoning?: string | undefined;
105
+ readonly reasoning_text?: string | undefined;
95
106
  readonly reasoning_details?: unknown;
96
- } | {
97
- readonly role: "tool";
98
- readonly tool_call_id: string;
99
- readonly content: string | readonly {
100
- readonly type: "text";
101
- readonly text: string;
102
- readonly cache_control?: {
103
- readonly type: "ephemeral";
104
- readonly ttl?: string | undefined;
105
- } | undefined;
106
- }[];
107
107
  })[];
108
- readonly stream: true;
109
- readonly max_completion_tokens?: number | undefined;
110
- readonly max_tokens?: number | undefined;
111
- readonly temperature?: number | undefined;
112
108
  readonly tools?: readonly {
109
+ readonly type: "function";
113
110
  readonly function: {
114
- readonly description: string;
115
111
  readonly name: string;
112
+ readonly description: string;
116
113
  readonly parameters: {
117
114
  readonly [x: string]: unknown;
118
115
  };
119
116
  readonly strict?: boolean | undefined;
120
117
  };
121
- readonly type: "function";
122
118
  readonly cache_control?: {
123
119
  readonly type: "ephemeral";
124
120
  readonly ttl?: string | undefined;
125
121
  } | undefined;
126
122
  }[] | undefined;
127
- readonly stop?: readonly string[] | undefined;
128
- readonly user?: string | undefined;
129
- readonly seed?: number | undefined;
130
- readonly service_tier?: string | undefined;
131
- readonly tool_choice?: "required" | "auto" | "none" | {
123
+ readonly tool_choice?: "auto" | "none" | "required" | {
132
124
  readonly type: "function";
133
125
  readonly function: {
134
126
  readonly name: string;
135
127
  };
136
128
  } | undefined;
137
- readonly top_p?: number | undefined;
138
- readonly frequency_penalty?: number | undefined;
139
- readonly presence_penalty?: number | undefined;
140
- readonly store?: boolean | undefined;
141
- readonly prompt_cache_key?: string | undefined;
142
- readonly parallel_tool_calls?: boolean | undefined;
143
- readonly reasoning_effort?: import("../schema/options.js").ReasoningEffort | undefined;
129
+ readonly stream: true;
144
130
  readonly stream_options?: {
145
131
  readonly include_usage: boolean;
146
132
  } | undefined;
133
+ readonly store?: boolean | undefined;
134
+ readonly prompt_cache_key?: string | undefined;
135
+ readonly reasoning_effort?: import("../schema/options.js").ReasoningEffort | undefined;
147
136
  readonly tool_stream?: boolean | undefined;
137
+ readonly max_completion_tokens?: number | undefined;
138
+ readonly max_tokens?: number | undefined;
139
+ readonly temperature?: number | undefined;
140
+ readonly top_p?: number | undefined;
141
+ readonly frequency_penalty?: number | undefined;
142
+ readonly presence_penalty?: number | undefined;
143
+ readonly seed?: number | undefined;
144
+ readonly stop?: readonly string[] | undefined;
148
145
  readonly reasoning_format?: "parsed" | undefined;
149
146
  readonly include_reasoning?: boolean | undefined;
147
+ readonly parallel_tool_calls?: boolean | undefined;
148
+ readonly service_tier?: string | undefined;
149
+ readonly user?: string | undefined;
150
150
  }, string, "[DONE]" | {
151
151
  readonly [x: string]: unknown;
152
- readonly error?: {
153
- readonly [x: string]: unknown;
154
- readonly message: string;
155
- readonly code?: string | number | null | undefined;
156
- } | null | undefined;
157
- readonly usage?: {
158
- readonly [x: string]: unknown;
159
- readonly cache_read_input_tokens?: number | null | undefined;
160
- readonly cached_tokens?: number | null | undefined;
161
- readonly total_tokens?: number | null | undefined;
162
- readonly prompt_tokens?: number | null | undefined;
163
- readonly completion_tokens?: number | null | undefined;
164
- readonly prompt_tokens_details?: {
165
- readonly [x: string]: unknown;
166
- readonly cached_tokens?: number | null | undefined;
167
- readonly cache_write_tokens?: number | null | undefined;
168
- } | null | undefined;
169
- readonly prompt_cache_hit_tokens?: number | null | undefined;
170
- readonly cache_created_input_tokens?: number | null | undefined;
171
- readonly completion_tokens_details?: {
172
- readonly [x: string]: unknown;
173
- readonly reasoning_tokens?: number | null | undefined;
174
- readonly accepted_prediction_tokens?: number | null | undefined;
175
- readonly rejected_prediction_tokens?: number | null | undefined;
176
- } | null | undefined;
177
- } | null | undefined;
178
152
  readonly choices?: readonly {
179
153
  readonly [x: string]: unknown;
180
154
  readonly delta?: {
181
155
  readonly [x: string]: unknown;
182
- readonly reasoning?: string | null | undefined;
183
- readonly reasoning_content?: string | null | undefined;
184
- readonly reasoning_text?: string | null | undefined;
185
156
  readonly content?: string | null | undefined;
186
157
  readonly refusal?: string | null | undefined;
158
+ readonly reasoning_content?: string | null | undefined;
159
+ readonly reasoning?: string | null | undefined;
160
+ readonly reasoning_text?: string | null | undefined;
161
+ readonly reasoning_details?: unknown;
187
162
  readonly tool_calls?: readonly {
163
+ readonly index?: number | null | undefined;
164
+ readonly id?: string | null | undefined;
188
165
  readonly function?: {
189
166
  readonly name?: string | null | undefined;
190
167
  readonly arguments?: string | null | undefined;
191
168
  } | null | undefined;
192
- readonly id?: string | null | undefined;
193
- readonly index?: number | null | undefined;
194
169
  readonly extra_content?: unknown;
195
170
  }[] | null | undefined;
196
- readonly reasoning_details?: unknown;
197
171
  } | null | undefined;
172
+ readonly finish_reason?: string | null | undefined;
173
+ readonly native_finish_reason?: string | null | undefined;
198
174
  readonly usage?: {
199
175
  readonly [x: string]: unknown;
200
- readonly cache_read_input_tokens?: number | null | undefined;
201
- readonly cached_tokens?: number | null | undefined;
202
- readonly total_tokens?: number | null | undefined;
203
176
  readonly prompt_tokens?: number | null | undefined;
204
177
  readonly completion_tokens?: number | null | undefined;
178
+ readonly total_tokens?: number | null | undefined;
179
+ readonly cached_tokens?: number | null | undefined;
180
+ readonly prompt_cache_hit_tokens?: number | null | undefined;
181
+ readonly cache_read_input_tokens?: number | null | undefined;
182
+ readonly cache_created_input_tokens?: number | null | undefined;
205
183
  readonly prompt_tokens_details?: {
206
184
  readonly [x: string]: unknown;
207
185
  readonly cached_tokens?: number | null | undefined;
208
186
  readonly cache_write_tokens?: number | null | undefined;
209
187
  } | null | undefined;
210
- readonly prompt_cache_hit_tokens?: number | null | undefined;
211
- readonly cache_created_input_tokens?: number | null | undefined;
212
188
  readonly completion_tokens_details?: {
213
189
  readonly [x: string]: unknown;
214
190
  readonly reasoning_tokens?: number | null | undefined;
@@ -216,9 +192,33 @@ export declare const protocol: Protocol<{
216
192
  readonly rejected_prediction_tokens?: number | null | undefined;
217
193
  } | null | undefined;
218
194
  } | null | undefined;
219
- readonly finish_reason?: string | null | undefined;
220
- readonly native_finish_reason?: string | null | undefined;
221
195
  }[] | null | undefined;
196
+ readonly usage?: {
197
+ readonly [x: string]: unknown;
198
+ readonly prompt_tokens?: number | null | undefined;
199
+ readonly completion_tokens?: number | null | undefined;
200
+ readonly total_tokens?: number | null | undefined;
201
+ readonly cached_tokens?: number | null | undefined;
202
+ readonly prompt_cache_hit_tokens?: number | null | undefined;
203
+ readonly cache_read_input_tokens?: number | null | undefined;
204
+ readonly cache_created_input_tokens?: number | null | undefined;
205
+ readonly prompt_tokens_details?: {
206
+ readonly [x: string]: unknown;
207
+ readonly cached_tokens?: number | null | undefined;
208
+ readonly cache_write_tokens?: number | null | undefined;
209
+ } | null | undefined;
210
+ readonly completion_tokens_details?: {
211
+ readonly [x: string]: unknown;
212
+ readonly reasoning_tokens?: number | null | undefined;
213
+ readonly accepted_prediction_tokens?: number | null | undefined;
214
+ readonly rejected_prediction_tokens?: number | null | undefined;
215
+ } | null | undefined;
216
+ } | null | undefined;
217
+ readonly error?: {
218
+ readonly [x: string]: unknown;
219
+ readonly code?: string | number | null | undefined;
220
+ readonly message: string;
221
+ } | null | undefined;
222
222
  }, OpenAIChat.ParserState>;
223
223
  export declare const route: Route<{
224
224
  readonly model: string;
@@ -264,8 +264,20 @@ export declare const route: Route<{
264
264
  readonly file_data: string;
265
265
  };
266
266
  })[];
267
+ } | {
268
+ readonly role: "tool";
269
+ readonly tool_call_id: string;
270
+ readonly content: string | readonly {
271
+ readonly type: "text";
272
+ readonly text: string;
273
+ readonly cache_control?: {
274
+ readonly type: "ephemeral";
275
+ readonly ttl?: string | undefined;
276
+ } | undefined;
277
+ }[];
267
278
  } | {
268
279
  readonly [x: string]: unknown;
280
+ readonly role: "assistant";
269
281
  readonly content: string | readonly {
270
282
  readonly type: "text";
271
283
  readonly text: string;
@@ -274,92 +286,76 @@ export declare const route: Route<{
274
286
  readonly ttl?: string | undefined;
275
287
  } | undefined;
276
288
  }[] | null;
277
- readonly role: "assistant";
278
- readonly reasoning?: string | undefined;
279
- readonly reasoning_content?: string | undefined;
280
- readonly reasoning_text?: string | undefined;
281
289
  readonly tool_calls?: readonly {
290
+ readonly id: string;
291
+ readonly type: "function";
282
292
  readonly function: {
283
293
  readonly name: string;
284
294
  readonly arguments: string;
285
295
  };
286
- readonly id: string;
287
- readonly type: "function";
288
296
  readonly extra_content?: {
289
297
  readonly google: {
290
298
  readonly thought_signature: string;
291
299
  };
292
300
  } | undefined;
293
301
  }[] | undefined;
302
+ readonly reasoning_content?: string | undefined;
303
+ readonly reasoning?: string | undefined;
304
+ readonly reasoning_text?: string | undefined;
294
305
  readonly reasoning_details?: unknown;
295
- } | {
296
- readonly role: "tool";
297
- readonly tool_call_id: string;
298
- readonly content: string | readonly {
299
- readonly type: "text";
300
- readonly text: string;
301
- readonly cache_control?: {
302
- readonly type: "ephemeral";
303
- readonly ttl?: string | undefined;
304
- } | undefined;
305
- }[];
306
306
  })[];
307
- readonly stream: true;
308
- readonly max_completion_tokens?: number | undefined;
309
- readonly max_tokens?: number | undefined;
310
- readonly temperature?: number | undefined;
311
307
  readonly tools?: readonly {
308
+ readonly type: "function";
312
309
  readonly function: {
313
- readonly description: string;
314
310
  readonly name: string;
311
+ readonly description: string;
315
312
  readonly parameters: {
316
313
  readonly [x: string]: unknown;
317
314
  };
318
315
  readonly strict?: boolean | undefined;
319
316
  };
320
- readonly type: "function";
321
317
  readonly cache_control?: {
322
318
  readonly type: "ephemeral";
323
319
  readonly ttl?: string | undefined;
324
320
  } | undefined;
325
321
  }[] | undefined;
326
- readonly stop?: readonly string[] | undefined;
327
- readonly user?: string | undefined;
328
- readonly seed?: number | undefined;
329
- readonly service_tier?: string | undefined;
330
- readonly tool_choice?: "required" | "auto" | "none" | {
322
+ readonly tool_choice?: "auto" | "none" | "required" | {
331
323
  readonly type: "function";
332
324
  readonly function: {
333
325
  readonly name: string;
334
326
  };
335
327
  } | undefined;
336
- readonly top_p?: number | undefined;
337
- readonly frequency_penalty?: number | undefined;
338
- readonly presence_penalty?: number | undefined;
339
- readonly store?: boolean | undefined;
340
- readonly prompt_cache_key?: string | undefined;
341
- readonly parallel_tool_calls?: boolean | undefined;
342
- readonly reasoning_effort?: import("../schema/options.js").ReasoningEffort | undefined;
328
+ readonly stream: true;
343
329
  readonly stream_options?: {
344
330
  readonly include_usage: boolean;
345
331
  } | undefined;
332
+ readonly store?: boolean | undefined;
333
+ readonly prompt_cache_key?: string | undefined;
334
+ readonly reasoning_effort?: import("../schema/options.js").ReasoningEffort | undefined;
346
335
  readonly tool_stream?: boolean | undefined;
336
+ readonly max_completion_tokens?: number | undefined;
337
+ readonly max_tokens?: number | undefined;
338
+ readonly temperature?: number | undefined;
339
+ readonly top_p?: number | undefined;
340
+ readonly frequency_penalty?: number | undefined;
341
+ readonly presence_penalty?: number | undefined;
342
+ readonly seed?: number | undefined;
343
+ readonly stop?: readonly string[] | undefined;
347
344
  readonly reasoning_format?: "parsed" | undefined;
348
345
  readonly include_reasoning?: boolean | undefined;
346
+ readonly parallel_tool_calls?: boolean | undefined;
347
+ readonly service_tier?: string | undefined;
348
+ readonly user?: string | undefined;
349
349
  }, import("../route/transport/http.js").HttpPrepared<string>, import("../route/client.js").CompactionOperations | undefined>;
350
350
  export declare const configure: (input?: LanguageModelOptions) => {
351
351
  id: string & import("effect/Brand").Brand<"AI.ProviderID">;
352
352
  model: (modelID: string | ModelID) => import("../schema/options.js").LanguageModel<ProviderOptions, import("../route/client.js").CompactionOperations | undefined>;
353
- configure: (input?: LanguageModelOptions) => /*elided*/ any;
353
+ configure: typeof configure;
354
354
  };
355
355
  export declare const provider: {
356
356
  id: string & import("effect/Brand").Brand<"AI.ProviderID">;
357
357
  model: (modelID: string | ModelID) => import("../schema/options.js").LanguageModel<ProviderOptions, import("../route/client.js").CompactionOperations | undefined>;
358
- configure: (input?: LanguageModelOptions) => {
359
- id: string & import("effect/Brand").Brand<"AI.ProviderID">;
360
- model: (modelID: string | ModelID) => import("../schema/options.js").LanguageModel<ProviderOptions, import("../route/client.js").CompactionOperations | undefined>;
361
- configure: /*elided*/ any;
362
- };
358
+ configure: typeof configure;
363
359
  };
364
360
  export declare const model: ProviderPackage.Definition<Settings, ProviderOptions>["model"];
365
361
  export * as Groq from "./groq.js";
@@ -63,7 +63,6 @@ export const configure = (input = {}) => {
63
63
  maxTokensField: "max_completion_tokens",
64
64
  reasoningField: "reasoning",
65
65
  requireReasoning: false,
66
- supportsStore: false,
67
66
  supportsStrictMode: false,
68
67
  },
69
68
  }),