interface LLMOptions {
    apiKey?: string;
    baseURL?: string;
    client?: OpenAI;
    metadata?: Record<string, string>;
    model: string;
    parallelToolCalls?: boolean;
    store?: boolean;
    strictToolSchema?: boolean;
    temperature?: number;
    toolChoice?: llm.ToolChoice;
    useWebSocket?: boolean;
}

Properties

apiKey?: string
baseURL?: string
client?: OpenAI
metadata?: Record<string, string>
model: string
parallelToolCalls?: boolean
store?: boolean
strictToolSchema?: boolean
temperature?: number
toolChoice?: llm.ToolChoice
useWebSocket?: boolean

Whether to use the WebSocket API.

Default

true