Skip to content

Fix env_file from model_config ignored in CliApp.run() (#795)#796

Merged
hramezani merged 1 commit intomainfrom
fix/env-file-ignored-in-cli-app-run
Mar 2, 2026
Merged

Fix env_file from model_config ignored in CliApp.run() (#795)#796
hramezani merged 1 commit intomainfrom
fix/env-file-ignored-in-cli-app-run

Conversation

@hramezani
Copy link
Copy Markdown
Member

The _env_file default in _settings_init_sources was None instead of ENV_FILE_SENTINEL, causing the model_config env_file to be skipped when CliApp.run() calls _settings_init_sources without _env_file.

The _env_file default in _settings_init_sources was None instead of
ENV_FILE_SENTINEL, causing the model_config env_file to be skipped
when CliApp.run() calls _settings_init_sources without _env_file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hramezani hramezani merged commit 46ddff3 into main Mar 2, 2026
36 of 38 checks passed
@hramezani hramezani deleted the fix/env-file-ignored-in-cli-app-run branch March 2, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant