Skip to content

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

OpenAiConfig()

Hold OpenAI provider credentials and endpoint.

Attributes:

Name Type Description
api_key str

OpenAI API key from OPENAI_API_KEY.

endpoint str

OpenAI API base URL.

Load OpenAI configuration from environment variables.

Functions