GoogleLLMClient
open class GoogleLLMClient(apiKey: String, settings: GoogleClientSettings = GoogleClientSettings(), baseClient: HttpClient = HttpClient()) : LLMClient(source)
Implementation of LLMClient for Google's Gemini API.
This client supports both standard and streaming text generation with optional tool calling capabilities.
Parameters
apiKey
The API key for the Google AI API
settings
Custom client settings, defaults to standard API endpoint and timeouts
baseClient
Optional custom HTTP client
Constructors
Link copied to clipboard
constructor(apiKey: String, settings: GoogleClientSettings = GoogleClientSettings(), baseClient: HttpClient = HttpClient())
Functions
Link copied to clipboard
open suspend override fun execute(prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>): List<Message.Response>
Link copied to clipboard