Package-level declarations

Types

Link copied to clipboard
class OllamaBackend(baseUrl: String, model: String, systemPrompt: String = "", tools: List<AgentTool> = emptyList(), approver: ToolApprover = ToolApprover.AlwaysApprove, think: Boolean = true, maxSteps: Int = 8, client: OkHttpClient = DefaultHttpClient) : ChatBackend

Ollama's native chat API (POST /api/chat, newline-delimited JSON). Unlike its /v1 OpenAI shim it exposes think (reasoning) directly and takes images as raw base64. The agent loop runs on-device.