GeminiBackend
class GeminiBackend(baseUrl: String, model: String, apiKey: String, systemPrompt: String = "", tools: List<AgentTool> = emptyList(), approver: ToolApprover = ToolApprover.AlwaysApprove, maxSteps: Int = 8, client: OkHttpClient = DefaultHttpClient) : ChatBackend(source)
Google Gemini native API (:streamGenerateContent?alt=sse).
Thought summaries (thought: true parts) become reasoning; function calls run on-device. Model parts — including thoughtSignatures — are echoed back verbatim on the next step, as Gemini requires for multi-step tool use.