Config
infra.llm.providers.open_ai.config
Summary
OpenAI provider configuration loaded from the environment.
Read the OpenAI API key and endpoint used by the OpenAI pool adaptors.
Classes
OpenAiConfig
Hold OpenAI provider credentials and endpoint.
Attributes:
| Name | Type | Description |
|---|---|---|
api_key |
str
|
OpenAI API key from |
endpoint |
str
|
OpenAI API base URL. |
Load OpenAI configuration from environment variables.