geometor.seer.gemini_client

Client for interacting with the Google Gemini model.

Classes

GeminiClient

Module Contents

class geometor.seer.gemini_client.GeminiClient(config: geometor.seer.config.Config, role: str)
model_name
generate_content(prompt: List[Any], tools: List[Callable] | str | None = None) → Any

Generates content using the configured Gemini model.

Parameters:
  • prompt – The list of content parts forming the prompt (can include text, images).

  • tools – Optional list of functions or the string “code_execution”.

Returns:

The response object from the Gemini API.

Raises:

Exception – Propagates exceptions from the API call.