yera.providers.gemini_common
Common infrastructure for accessing Gemini services.
Symbols
get_gemini_client
get_gemini_client(
connection: GeminiConnection,
) → genai.ClientBuild a Gemini client from a configured connection.
Parameters
connection
type: GeminiConnection
Gemini connection containing the API-key location.
Returns
type: genai.Client
A client configured for the Gemini Developer API.
Raises
ValueError
If the configured environment variable is empty or absent.