Model
interface Model
Interface that provides a common interface for interacting with different LLMs.
Inheritors
Properties
Link copied to clipboard
The optional features this model supports, which change how ADK builds its requests. By default only a model whose name is a gemini-2.* name lacks LlmCapabilities.outputSchemaAndTools. Override this to choose, for example LlmCapabilities(outputSchemaAndTools = false) to get the final answer through set_model_response beside tools.
Functions
Link copied to clipboard
Opens a live (bidirectional streaming) connection, configured by LlmRequest.liveConnectConfig.
Link copied to clipboard
Generates content for the given LlmRequest. This returns a Flow of LlmResponses.