Skip to main content

llm_model

Method
This is a method of the Agent class in the agent module.
Unified property to get the LLM model regardless of configuration type.

Signature

def llm_model() -> Any

Returns

Returns
Any
returns the model string (e.g., “gpt-4o-mini”)
  • For custom LLM instances: returns the LLM instance object
  • For provider models: returns the LLM instance object