Open AI env var fix (#2384)

This commit is contained in:
Pranav Puranik
2025-03-25 22:13:33 -05:00
committed by GitHub
parent 9cb2a13f3b
commit 4321d24284
5 changed files with 56 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ iconType: "solid"
Config values are applied in the following order of precedence (from highest to lowest):
1. Values explicitly set in the `config` object/dictionary
2. Environment variables (e.g., `OPENAI_API_KEY`, `OPENAI_API_BASE`)
2. Environment variables (e.g., `OPENAI_API_KEY`, `OPENAI_BASE_URL`)
3. Default values defined in the LLM implementation
This means that values specified in the `config` will override corresponding environment variables, which in turn override default values.