import type * as plugins from './plugins.js'; export interface IOllamaModelRequest extends plugins.ISmartAiOptions { provider: 'ollama'; ollamaOptions?: IOllamaModelOptions; } /** * Ollama model runtime options passed in the request body `options` field. * @see https://github.com/ollama/ollama/blob/main/docs/modelfile.md */ export interface IOllamaModelOptions { /** Context window size. Default: 2048. */ num_ctx?: number; /** 0 = deterministic. Default: 0.8. For Qwen models use 0.55. */ temperature?: number; top_k?: number; top_p?: number; repeat_penalty?: number; num_predict?: number; stop?: string[]; seed?: number; /** * Enable thinking/reasoning mode (Qwen3, QwQ, DeepSeek-R1 etc.). * The custom Ollama provider handles this directly. */ think?: boolean; }