Expand description
Provider implementation for OpenAI-compatible APIs.
The base_url constructor argument can point at OpenAI-compatible
endpoints such as OpenAI / DeepSeek / Zhipu / Moonshot, as well as Ollama’s
OpenAI-compatible interface (pass an empty string for api_key).
Modules§
- message
- Conversation messages.
- provider
- Provider: the interface for communicating with an LLM.
- tool
- Tool: external capabilities an agent can invoke.
Structs§
- Open
AiProvider - Provider implementation for OpenAI-compatible APIs.
Enums§
- Structured
Output Mode - Transport shape for structured output (an OpenAiProvider construction
setting): decides how
response_formatis sent.