/** * OpenAICompatibleLLMProvider — works with any OpenAI-compatible API. * * Covers: OpenAI, DeepSeek, Kimi (Moonshot AI), Hugging Face Inference, OpenRouter, * Together AI, Fireworks, LM Studio, vLLM, and any other service * that implements the /v1/chat/completions endpoint. * * Uses native fetch — no SDK dependency required. * * Defaults: * base URL — https://api.openai.com/v1 (override for other providers) * model — gpt-4o * API key — OPENAI_API_KEY env var (also checks provider-specific vars) */ import type { LLMProvider, GenerateOptions, GenerateJSONOptions } from '../core/llm.js'; export interface OpenAICompatibleOptions { /** Model ID (default: gpt-4o). */ model?: string; /** Base URL for the API (default: auto-detected from env vars). */ baseUrl?: string; /** API key (default: auto-detected from env vars). */ apiKey?: string; /** Provider name for provenance tracking (default: auto-detected). */ providerName?: string; } export declare class OpenAICompatibleLLMProvider implements LLMProvider { readonly name: string; readonly modelId: string; private readonly baseUrl; private readonly apiKey; constructor(options?: OpenAICompatibleOptions); generate(prompt: string, options?: GenerateOptions): Promise; generateJSON(prompt: string, options?: GenerateJSONOptions): Promise; private post; } //# sourceMappingURL=openai-compatible.d.ts.map