agrag.agents.model
Translate LLMClientConfig into the matching LangChain chat model.
Classes:
- UnsupportedAgentProviderError – Raised when a provider has no agent-side mapping yet.
Functions:
- build_chat_model – Translate one LLMClientConfig into a LangChain chat model.
- build_model_middleware – Build agent middleware composing multiple clients per strategy.