@agentskit/adapters 0.9.1 → 0.11.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.
package/dist/index.d.cts CHANGED
@@ -165,10 +165,22 @@ declare const mistral: (config: OpenAICompatibleConfig) => _agentskit_core.Adapt
165
165
  interface CohereConfig extends OpenAICompatibleConfig {
166
166
  }
167
167
  /**
168
- * Cohere Command models via the OpenAI-compatibility endpoint.
169
- * Default models: `command-r-plus`, `command-r`, `command-light`.
168
+ * Cohere Command models via Cohere's OpenAI-compatibility endpoint.
169
+ *
170
+ * - Streams tokens via SSE (OpenAI-compatible chunks).
171
+ * - Supports tool calls in the OpenAI `tools` shape.
172
+ * - Reports `usage` on the final stream chunk when the upstream model
173
+ * returns it (Cohere's compatibility layer mirrors OpenAI's
174
+ * `stream_options: { include_usage: true }` semantics).
175
+ * - Inherits auto-retry from the shared OpenAI core (`retry`).
176
+ *
177
+ * Default model: `command-r-plus`. Override via `model`.
170
178
  */
171
- declare const cohere: (config: OpenAICompatibleConfig) => _agentskit_core.AdapterFactory;
179
+ declare function cohere(config: Partial<CohereConfig> & {
180
+ apiKey: string;
181
+ }): AdapterFactory;
182
+ /** Alias for naming consistency with other native adapters. */
183
+ declare const cohereAdapter: typeof cohere;
172
184
 
173
185
  interface TogetherConfig extends OpenAICompatibleConfig {
174
186
  }
@@ -181,10 +193,16 @@ declare const together: (config: OpenAICompatibleConfig) => _agentskit_core.Adap
181
193
  interface GroqConfig extends OpenAICompatibleConfig {
182
194
  }
183
195
  /**
184
- * Groq. OpenAI-compatible endpoint serving Llama / Mixtral on LPU.
196
+ * Groq — OpenAI-compatible endpoint serving Llama / Mixtral on LPUs.
185
197
  * Known for very low first-token latency.
198
+ *
199
+ * Default model: `llama-3.3-70b-versatile`.
186
200
  */
187
- declare const groq: (config: OpenAICompatibleConfig) => _agentskit_core.AdapterFactory;
201
+ declare function groq(config: Partial<GroqConfig> & {
202
+ apiKey: string;
203
+ }): AdapterFactory;
204
+ /** Alias for naming consistency with other native adapters. */
205
+ declare const groqAdapter: typeof groq;
188
206
 
189
207
  interface FireworksConfig extends OpenAICompatibleConfig {
190
208
  }
@@ -238,6 +256,175 @@ interface LlamaCppConfig extends OpenAICompatibleConfig {
238
256
  */
239
257
  declare const llamacpp: (config: OpenAICompatibleConfig) => _agentskit_core.AdapterFactory;
240
258
 
259
+ interface CerebrasConfig extends OpenAICompatibleConfig {
260
+ }
261
+ /**
262
+ * Cerebras — ultra-fast inference on wafer-scale chips. OpenAI-compatible
263
+ * endpoint serving Llama / Qwen models with very low first-token latency.
264
+ *
265
+ * Default model: `llama-3.3-70b`.
266
+ */
267
+ declare function cerebras(config: Partial<CerebrasConfig> & {
268
+ apiKey: string;
269
+ }): AdapterFactory;
270
+ declare const cerebrasAdapter: typeof cerebras;
271
+
272
+ interface AzureOpenAIConfig {
273
+ apiKey: string;
274
+ /** Resource endpoint, e.g. `https://my-resource.openai.azure.com`. */
275
+ endpoint: string;
276
+ /** Deployment name (NOT the underlying model name — Azure routes by deployment). */
277
+ deployment: string;
278
+ /** Azure REST `api-version`. Defaults to `2024-10-21`. */
279
+ apiVersion?: string;
280
+ retry?: RetryOptions;
281
+ /** Surface usage by setting `stream_options.include_usage`. Defaults to true. */
282
+ includeUsage?: boolean;
283
+ }
284
+ declare function azureOpenAI(config: AzureOpenAIConfig): AdapterFactory;
285
+ declare const azureOpenAIAdapter: typeof azureOpenAI;
286
+
287
+ interface ReplicateConfig {
288
+ apiKey: string;
289
+ /** Replicate model id, e.g. `meta/meta-llama-3-70b-instruct`. */
290
+ model: string;
291
+ /** Optional pinned version hash (for non-official models). */
292
+ version?: string;
293
+ /** Override the prediction endpoint base. */
294
+ baseUrl?: string;
295
+ /** Map AdapterRequest → Replicate `input` object. Defaults to `{ prompt }`. */
296
+ toInput?: (request: AdapterRequest) => Record<string, unknown>;
297
+ }
298
+ declare function replicate(config: ReplicateConfig): AdapterFactory;
299
+ declare const replicateAdapter: typeof replicate;
300
+
301
+ interface BailConfig extends OpenAICompatibleConfig {
302
+ }
303
+ /**
304
+ * Alibaba Bailian (Qwen) via the DashScope OpenAI-compatibility endpoint.
305
+ *
306
+ * Supports the Qwen-2.5 / 3 chat series and Qwen-VL multimodal models. APAC
307
+ * users typically prefer this over OpenAI for latency + data residency.
308
+ *
309
+ * Default model: `qwen-max`.
310
+ */
311
+ declare function bail(config: Partial<BailConfig> & {
312
+ apiKey: string;
313
+ }): AdapterFactory;
314
+ declare const bailAdapter: typeof bail;
315
+ /** Alias matching Alibaba's product naming. */
316
+ declare const qwen: typeof bail;
317
+
318
+ interface VertexConfig {
319
+ /** GCP project id. */
320
+ project: string;
321
+ /** Region, e.g. `us-central1`. */
322
+ region: string;
323
+ /** Vertex model id, e.g. `gemini-2.5-pro`. */
324
+ model: string;
325
+ /**
326
+ * OAuth2 access token, or a function returning one (called per request).
327
+ *
328
+ * Use the `google-auth-library` (or `gcloud auth print-access-token`) to
329
+ * mint these — the adapter intentionally doesn't take that as a hard dep.
330
+ */
331
+ accessToken: string | (() => string | Promise<string>);
332
+ /** Override the publisher (defaults to `google`; set for partner publishers). */
333
+ publisher?: string;
334
+ retry?: RetryOptions;
335
+ }
336
+ declare function vertex(config: VertexConfig): AdapterFactory;
337
+ declare const vertexAdapter: typeof vertex;
338
+
339
+ interface BedrockConfig {
340
+ /** Bedrock model id, e.g. `anthropic.claude-3-5-sonnet-20241022-v2:0`. */
341
+ model: string;
342
+ /** AWS region (e.g. `us-east-1`). Falls back to the SDK's default credential chain. */
343
+ region?: string;
344
+ /** Override `max_tokens` (Anthropic on Bedrock requires it). Defaults to 4096. */
345
+ maxTokens?: number;
346
+ /**
347
+ * Override the SDK client. Mostly for tests; production code should let the
348
+ * adapter create the client from `region` + the SDK's default credential
349
+ * chain.
350
+ */
351
+ client?: BedrockRuntimeClientLike;
352
+ }
353
+ /**
354
+ * Minimal structural type for `BedrockRuntimeClient` so we don't take a hard
355
+ * dep on `@aws-sdk/client-bedrock-runtime`.
356
+ */
357
+ interface BedrockRuntimeClientLike {
358
+ send(command: {
359
+ input: BedrockInvokeInput;
360
+ }): Promise<{
361
+ body?: AsyncIterable<{
362
+ chunk?: {
363
+ bytes?: Uint8Array;
364
+ };
365
+ }>;
366
+ }>;
367
+ }
368
+ interface BedrockInvokeInput {
369
+ modelId: string;
370
+ contentType: string;
371
+ accept: string;
372
+ body: string;
373
+ }
374
+ declare function bedrock(config: BedrockConfig): AdapterFactory;
375
+ declare const bedrockAdapter: typeof bedrock;
376
+
377
+ /**
378
+ * Browser-only adapter backed by WebLLM (https://github.com/mlc-ai/web-llm).
379
+ * Models run on-device via WebGPU; no network for inference. The MLCEngine
380
+ * is loaded lazily on first stream so apps can ship the import without
381
+ * paying the wasm cost up front.
382
+ *
383
+ * `@mlc-ai/web-llm` is an **optional peer dependency** — install it
384
+ * alongside this package when you opt into browser-only inference.
385
+ */
386
+ interface WebLlmConfig {
387
+ /** Model id from MLC's catalog, e.g. `Llama-3.1-8B-Instruct-q4f16_1-MLC`. */
388
+ model: string;
389
+ /**
390
+ * Override the engine to inject a pre-loaded one (the MLCEngine spin-up
391
+ * is non-trivial — apps usually warm it once, not per turn).
392
+ */
393
+ engine?: WebLlmEngineLike;
394
+ /** Engine progress callback (model download / compile percent). */
395
+ onProgress?: (info: {
396
+ progress: number;
397
+ text: string;
398
+ }) => void;
399
+ }
400
+ interface WebLlmEngineLike {
401
+ reload(model: string, opts?: {
402
+ initProgressCallback?: (i: {
403
+ progress: number;
404
+ text: string;
405
+ }) => void;
406
+ }): Promise<void>;
407
+ chat: {
408
+ completions: {
409
+ create(params: {
410
+ messages: Array<{
411
+ role: string;
412
+ content: string;
413
+ }>;
414
+ stream: true;
415
+ }): AsyncIterable<{
416
+ choices: Array<{
417
+ delta?: {
418
+ content?: string;
419
+ };
420
+ }>;
421
+ }>;
422
+ };
423
+ };
424
+ }
425
+ declare function webllm(config: WebLlmConfig): AdapterFactory;
426
+ declare const webllmAdapter: typeof webllm;
427
+
241
428
  interface RouterCandidate {
242
429
  id: string;
243
430
  adapter: AdapterFactory;
@@ -469,4 +656,4 @@ interface KimiEmbedderConfig extends OpenAICompatibleEmbedderConfig {
469
656
  }
470
657
  declare const kimiEmbedder: (config: OpenAICompatibleEmbedderConfig) => _agentskit_core.EmbedFn;
471
658
 
472
- export { type AnthropicConfig, type CohereConfig, type CreateAdapterConfig, type DeepSeekConfig, type DeepSeekEmbedderConfig, type EnsembleAggregator, type EnsembleBranchResult, type EnsembleCandidate, type EnsembleOptions, type FallbackCandidate, type FallbackOptions, type FireworksConfig, type GeminiConfig, type GeminiEmbedderConfig, type GenericAdapterConfig, type GrokConfig, type GrokEmbedderConfig, type GroqConfig, type HuggingFaceConfig, type KimiConfig, type KimiEmbedderConfig, type LMStudioConfig, type LangChainConfig, type LangGraphConfig, type LlamaCppConfig, type MistralConfig, type MockAdapterOptions, type MockResponse, type OllamaConfig, type OllamaEmbedderConfig, type OpenAICompatibleEmbedderConfig, type OpenAIConfig, type OpenAIEmbedderConfig, type OpenRouterConfig, type RecordedTurn, type RecordingFixture, type RecordingSink, type RetryOptions, type RouterCandidate, type RouterOptions, type RouterPolicy, type TogetherConfig, type VLLMConfig, type VercelAIConfig, anthropic, chunkText, cohere, createAdapter, createEnsembleAdapter, createFallbackAdapter, createOpenAICompatibleEmbedder, createRouter, deepseek, deepseekEmbedder, fetchWithRetry, fireworks, gemini, geminiEmbedder, generic, grok, grokEmbedder, groq, huggingface, inMemorySink, kimi, kimiEmbedder, langchain, langgraph, llamacpp, lmstudio, mistral, mockAdapter, ollama, ollamaEmbedder, openai, openaiEmbedder, openrouter, recordingAdapter, replayAdapter, simulateStream, together, vercelAI, vllm };
659
+ export { type AnthropicConfig, type AzureOpenAIConfig, type BailConfig, type BedrockConfig, type BedrockRuntimeClientLike, type CerebrasConfig, type CohereConfig, type CreateAdapterConfig, type DeepSeekConfig, type DeepSeekEmbedderConfig, type EnsembleAggregator, type EnsembleBranchResult, type EnsembleCandidate, type EnsembleOptions, type FallbackCandidate, type FallbackOptions, type FireworksConfig, type GeminiConfig, type GeminiEmbedderConfig, type GenericAdapterConfig, type GrokConfig, type GrokEmbedderConfig, type GroqConfig, type HuggingFaceConfig, type KimiConfig, type KimiEmbedderConfig, type LMStudioConfig, type LangChainConfig, type LangGraphConfig, type LlamaCppConfig, type MistralConfig, type MockAdapterOptions, type MockResponse, type OllamaConfig, type OllamaEmbedderConfig, type OpenAICompatibleEmbedderConfig, type OpenAIConfig, type OpenAIEmbedderConfig, type OpenRouterConfig, type RecordedTurn, type RecordingFixture, type RecordingSink, type ReplicateConfig, type RetryOptions, type RouterCandidate, type RouterOptions, type RouterPolicy, type TogetherConfig, type VLLMConfig, type VercelAIConfig, type VertexConfig, type WebLlmConfig, type WebLlmEngineLike, anthropic, azureOpenAI, azureOpenAIAdapter, bail, bailAdapter, bedrock, bedrockAdapter, cerebras, cerebrasAdapter, chunkText, cohere, cohereAdapter, createAdapter, createEnsembleAdapter, createFallbackAdapter, createOpenAICompatibleEmbedder, createRouter, deepseek, deepseekEmbedder, fetchWithRetry, fireworks, gemini, geminiEmbedder, generic, grok, grokEmbedder, groq, groqAdapter, huggingface, inMemorySink, kimi, kimiEmbedder, langchain, langgraph, llamacpp, lmstudio, mistral, mockAdapter, ollama, ollamaEmbedder, openai, openaiEmbedder, openrouter, qwen, recordingAdapter, replayAdapter, replicate, replicateAdapter, simulateStream, together, vercelAI, vertex, vertexAdapter, vllm, webllm, webllmAdapter };
package/dist/index.d.ts CHANGED
@@ -165,10 +165,22 @@ declare const mistral: (config: OpenAICompatibleConfig) => _agentskit_core.Adapt
165
165
  interface CohereConfig extends OpenAICompatibleConfig {
166
166
  }
167
167
  /**
168
- * Cohere Command models via the OpenAI-compatibility endpoint.
169
- * Default models: `command-r-plus`, `command-r`, `command-light`.
168
+ * Cohere Command models via Cohere's OpenAI-compatibility endpoint.
169
+ *
170
+ * - Streams tokens via SSE (OpenAI-compatible chunks).
171
+ * - Supports tool calls in the OpenAI `tools` shape.
172
+ * - Reports `usage` on the final stream chunk when the upstream model
173
+ * returns it (Cohere's compatibility layer mirrors OpenAI's
174
+ * `stream_options: { include_usage: true }` semantics).
175
+ * - Inherits auto-retry from the shared OpenAI core (`retry`).
176
+ *
177
+ * Default model: `command-r-plus`. Override via `model`.
170
178
  */
171
- declare const cohere: (config: OpenAICompatibleConfig) => _agentskit_core.AdapterFactory;
179
+ declare function cohere(config: Partial<CohereConfig> & {
180
+ apiKey: string;
181
+ }): AdapterFactory;
182
+ /** Alias for naming consistency with other native adapters. */
183
+ declare const cohereAdapter: typeof cohere;
172
184
 
173
185
  interface TogetherConfig extends OpenAICompatibleConfig {
174
186
  }
@@ -181,10 +193,16 @@ declare const together: (config: OpenAICompatibleConfig) => _agentskit_core.Adap
181
193
  interface GroqConfig extends OpenAICompatibleConfig {
182
194
  }
183
195
  /**
184
- * Groq. OpenAI-compatible endpoint serving Llama / Mixtral on LPU.
196
+ * Groq — OpenAI-compatible endpoint serving Llama / Mixtral on LPUs.
185
197
  * Known for very low first-token latency.
198
+ *
199
+ * Default model: `llama-3.3-70b-versatile`.
186
200
  */
187
- declare const groq: (config: OpenAICompatibleConfig) => _agentskit_core.AdapterFactory;
201
+ declare function groq(config: Partial<GroqConfig> & {
202
+ apiKey: string;
203
+ }): AdapterFactory;
204
+ /** Alias for naming consistency with other native adapters. */
205
+ declare const groqAdapter: typeof groq;
188
206
 
189
207
  interface FireworksConfig extends OpenAICompatibleConfig {
190
208
  }
@@ -238,6 +256,175 @@ interface LlamaCppConfig extends OpenAICompatibleConfig {
238
256
  */
239
257
  declare const llamacpp: (config: OpenAICompatibleConfig) => _agentskit_core.AdapterFactory;
240
258
 
259
+ interface CerebrasConfig extends OpenAICompatibleConfig {
260
+ }
261
+ /**
262
+ * Cerebras — ultra-fast inference on wafer-scale chips. OpenAI-compatible
263
+ * endpoint serving Llama / Qwen models with very low first-token latency.
264
+ *
265
+ * Default model: `llama-3.3-70b`.
266
+ */
267
+ declare function cerebras(config: Partial<CerebrasConfig> & {
268
+ apiKey: string;
269
+ }): AdapterFactory;
270
+ declare const cerebrasAdapter: typeof cerebras;
271
+
272
+ interface AzureOpenAIConfig {
273
+ apiKey: string;
274
+ /** Resource endpoint, e.g. `https://my-resource.openai.azure.com`. */
275
+ endpoint: string;
276
+ /** Deployment name (NOT the underlying model name — Azure routes by deployment). */
277
+ deployment: string;
278
+ /** Azure REST `api-version`. Defaults to `2024-10-21`. */
279
+ apiVersion?: string;
280
+ retry?: RetryOptions;
281
+ /** Surface usage by setting `stream_options.include_usage`. Defaults to true. */
282
+ includeUsage?: boolean;
283
+ }
284
+ declare function azureOpenAI(config: AzureOpenAIConfig): AdapterFactory;
285
+ declare const azureOpenAIAdapter: typeof azureOpenAI;
286
+
287
+ interface ReplicateConfig {
288
+ apiKey: string;
289
+ /** Replicate model id, e.g. `meta/meta-llama-3-70b-instruct`. */
290
+ model: string;
291
+ /** Optional pinned version hash (for non-official models). */
292
+ version?: string;
293
+ /** Override the prediction endpoint base. */
294
+ baseUrl?: string;
295
+ /** Map AdapterRequest → Replicate `input` object. Defaults to `{ prompt }`. */
296
+ toInput?: (request: AdapterRequest) => Record<string, unknown>;
297
+ }
298
+ declare function replicate(config: ReplicateConfig): AdapterFactory;
299
+ declare const replicateAdapter: typeof replicate;
300
+
301
+ interface BailConfig extends OpenAICompatibleConfig {
302
+ }
303
+ /**
304
+ * Alibaba Bailian (Qwen) via the DashScope OpenAI-compatibility endpoint.
305
+ *
306
+ * Supports the Qwen-2.5 / 3 chat series and Qwen-VL multimodal models. APAC
307
+ * users typically prefer this over OpenAI for latency + data residency.
308
+ *
309
+ * Default model: `qwen-max`.
310
+ */
311
+ declare function bail(config: Partial<BailConfig> & {
312
+ apiKey: string;
313
+ }): AdapterFactory;
314
+ declare const bailAdapter: typeof bail;
315
+ /** Alias matching Alibaba's product naming. */
316
+ declare const qwen: typeof bail;
317
+
318
+ interface VertexConfig {
319
+ /** GCP project id. */
320
+ project: string;
321
+ /** Region, e.g. `us-central1`. */
322
+ region: string;
323
+ /** Vertex model id, e.g. `gemini-2.5-pro`. */
324
+ model: string;
325
+ /**
326
+ * OAuth2 access token, or a function returning one (called per request).
327
+ *
328
+ * Use the `google-auth-library` (or `gcloud auth print-access-token`) to
329
+ * mint these — the adapter intentionally doesn't take that as a hard dep.
330
+ */
331
+ accessToken: string | (() => string | Promise<string>);
332
+ /** Override the publisher (defaults to `google`; set for partner publishers). */
333
+ publisher?: string;
334
+ retry?: RetryOptions;
335
+ }
336
+ declare function vertex(config: VertexConfig): AdapterFactory;
337
+ declare const vertexAdapter: typeof vertex;
338
+
339
+ interface BedrockConfig {
340
+ /** Bedrock model id, e.g. `anthropic.claude-3-5-sonnet-20241022-v2:0`. */
341
+ model: string;
342
+ /** AWS region (e.g. `us-east-1`). Falls back to the SDK's default credential chain. */
343
+ region?: string;
344
+ /** Override `max_tokens` (Anthropic on Bedrock requires it). Defaults to 4096. */
345
+ maxTokens?: number;
346
+ /**
347
+ * Override the SDK client. Mostly for tests; production code should let the
348
+ * adapter create the client from `region` + the SDK's default credential
349
+ * chain.
350
+ */
351
+ client?: BedrockRuntimeClientLike;
352
+ }
353
+ /**
354
+ * Minimal structural type for `BedrockRuntimeClient` so we don't take a hard
355
+ * dep on `@aws-sdk/client-bedrock-runtime`.
356
+ */
357
+ interface BedrockRuntimeClientLike {
358
+ send(command: {
359
+ input: BedrockInvokeInput;
360
+ }): Promise<{
361
+ body?: AsyncIterable<{
362
+ chunk?: {
363
+ bytes?: Uint8Array;
364
+ };
365
+ }>;
366
+ }>;
367
+ }
368
+ interface BedrockInvokeInput {
369
+ modelId: string;
370
+ contentType: string;
371
+ accept: string;
372
+ body: string;
373
+ }
374
+ declare function bedrock(config: BedrockConfig): AdapterFactory;
375
+ declare const bedrockAdapter: typeof bedrock;
376
+
377
+ /**
378
+ * Browser-only adapter backed by WebLLM (https://github.com/mlc-ai/web-llm).
379
+ * Models run on-device via WebGPU; no network for inference. The MLCEngine
380
+ * is loaded lazily on first stream so apps can ship the import without
381
+ * paying the wasm cost up front.
382
+ *
383
+ * `@mlc-ai/web-llm` is an **optional peer dependency** — install it
384
+ * alongside this package when you opt into browser-only inference.
385
+ */
386
+ interface WebLlmConfig {
387
+ /** Model id from MLC's catalog, e.g. `Llama-3.1-8B-Instruct-q4f16_1-MLC`. */
388
+ model: string;
389
+ /**
390
+ * Override the engine to inject a pre-loaded one (the MLCEngine spin-up
391
+ * is non-trivial — apps usually warm it once, not per turn).
392
+ */
393
+ engine?: WebLlmEngineLike;
394
+ /** Engine progress callback (model download / compile percent). */
395
+ onProgress?: (info: {
396
+ progress: number;
397
+ text: string;
398
+ }) => void;
399
+ }
400
+ interface WebLlmEngineLike {
401
+ reload(model: string, opts?: {
402
+ initProgressCallback?: (i: {
403
+ progress: number;
404
+ text: string;
405
+ }) => void;
406
+ }): Promise<void>;
407
+ chat: {
408
+ completions: {
409
+ create(params: {
410
+ messages: Array<{
411
+ role: string;
412
+ content: string;
413
+ }>;
414
+ stream: true;
415
+ }): AsyncIterable<{
416
+ choices: Array<{
417
+ delta?: {
418
+ content?: string;
419
+ };
420
+ }>;
421
+ }>;
422
+ };
423
+ };
424
+ }
425
+ declare function webllm(config: WebLlmConfig): AdapterFactory;
426
+ declare const webllmAdapter: typeof webllm;
427
+
241
428
  interface RouterCandidate {
242
429
  id: string;
243
430
  adapter: AdapterFactory;
@@ -469,4 +656,4 @@ interface KimiEmbedderConfig extends OpenAICompatibleEmbedderConfig {
469
656
  }
470
657
  declare const kimiEmbedder: (config: OpenAICompatibleEmbedderConfig) => _agentskit_core.EmbedFn;
471
658
 
472
- export { type AnthropicConfig, type CohereConfig, type CreateAdapterConfig, type DeepSeekConfig, type DeepSeekEmbedderConfig, type EnsembleAggregator, type EnsembleBranchResult, type EnsembleCandidate, type EnsembleOptions, type FallbackCandidate, type FallbackOptions, type FireworksConfig, type GeminiConfig, type GeminiEmbedderConfig, type GenericAdapterConfig, type GrokConfig, type GrokEmbedderConfig, type GroqConfig, type HuggingFaceConfig, type KimiConfig, type KimiEmbedderConfig, type LMStudioConfig, type LangChainConfig, type LangGraphConfig, type LlamaCppConfig, type MistralConfig, type MockAdapterOptions, type MockResponse, type OllamaConfig, type OllamaEmbedderConfig, type OpenAICompatibleEmbedderConfig, type OpenAIConfig, type OpenAIEmbedderConfig, type OpenRouterConfig, type RecordedTurn, type RecordingFixture, type RecordingSink, type RetryOptions, type RouterCandidate, type RouterOptions, type RouterPolicy, type TogetherConfig, type VLLMConfig, type VercelAIConfig, anthropic, chunkText, cohere, createAdapter, createEnsembleAdapter, createFallbackAdapter, createOpenAICompatibleEmbedder, createRouter, deepseek, deepseekEmbedder, fetchWithRetry, fireworks, gemini, geminiEmbedder, generic, grok, grokEmbedder, groq, huggingface, inMemorySink, kimi, kimiEmbedder, langchain, langgraph, llamacpp, lmstudio, mistral, mockAdapter, ollama, ollamaEmbedder, openai, openaiEmbedder, openrouter, recordingAdapter, replayAdapter, simulateStream, together, vercelAI, vllm };
659
+ export { type AnthropicConfig, type AzureOpenAIConfig, type BailConfig, type BedrockConfig, type BedrockRuntimeClientLike, type CerebrasConfig, type CohereConfig, type CreateAdapterConfig, type DeepSeekConfig, type DeepSeekEmbedderConfig, type EnsembleAggregator, type EnsembleBranchResult, type EnsembleCandidate, type EnsembleOptions, type FallbackCandidate, type FallbackOptions, type FireworksConfig, type GeminiConfig, type GeminiEmbedderConfig, type GenericAdapterConfig, type GrokConfig, type GrokEmbedderConfig, type GroqConfig, type HuggingFaceConfig, type KimiConfig, type KimiEmbedderConfig, type LMStudioConfig, type LangChainConfig, type LangGraphConfig, type LlamaCppConfig, type MistralConfig, type MockAdapterOptions, type MockResponse, type OllamaConfig, type OllamaEmbedderConfig, type OpenAICompatibleEmbedderConfig, type OpenAIConfig, type OpenAIEmbedderConfig, type OpenRouterConfig, type RecordedTurn, type RecordingFixture, type RecordingSink, type ReplicateConfig, type RetryOptions, type RouterCandidate, type RouterOptions, type RouterPolicy, type TogetherConfig, type VLLMConfig, type VercelAIConfig, type VertexConfig, type WebLlmConfig, type WebLlmEngineLike, anthropic, azureOpenAI, azureOpenAIAdapter, bail, bailAdapter, bedrock, bedrockAdapter, cerebras, cerebrasAdapter, chunkText, cohere, cohereAdapter, createAdapter, createEnsembleAdapter, createFallbackAdapter, createOpenAICompatibleEmbedder, createRouter, deepseek, deepseekEmbedder, fetchWithRetry, fireworks, gemini, geminiEmbedder, generic, grok, grokEmbedder, groq, groqAdapter, huggingface, inMemorySink, kimi, kimiEmbedder, langchain, langgraph, llamacpp, lmstudio, mistral, mockAdapter, ollama, ollamaEmbedder, openai, openaiEmbedder, openrouter, qwen, recordingAdapter, replayAdapter, replicate, replicateAdapter, simulateStream, together, vercelAI, vertex, vertexAdapter, vllm, webllm, webllmAdapter };