/** * Base types for raw OpenAI-compatible API responses * These types represent the snake_case structure returned by OpenAI-compatible APIs */ /** Message in OpenAI-compatible API response */ export interface OpenAIMessage { content: string; } /** Choice containing message in OpenAI-compatible API response */ export interface OpenAIChoice { message: OpenAIMessage; } /** Token usage in OpenAI-compatible API response (snake_case) */ export interface OpenAIUsage { prompt_tokens: number; completion_tokens: number; total_tokens: number; } /** Full OpenAI-compatible API response structure */ export interface OpenAIResponse { choices: OpenAIChoice[]; usage?: OpenAIUsage; model: string; } /** Delta content in streaming response */ export interface OpenAIDelta { content?: string; } /** Choice in streaming response */ export interface OpenAIStreamChoice { delta?: OpenAIDelta; finish_reason?: 'stop' | 'length' | 'content_filter'; } /** Streaming chunk structure */ export interface OpenAIStreamChunk { choices: OpenAIStreamChoice[]; } //# sourceMappingURL=base.d.ts.map