Commit 32c9860
committed
fix(config): allow extra env vars and make OAuth fields optional
Pre-existing issues fixed:
- Add extra='ignore' to Settings model_config for backward compatibility
with legacy env vars (GEMINI_API_KEY, OPENAI_API_KEY)
- Add default empty values to GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET
for testing/development environments
These changes allow tests to run without requiring full production config.1 parent 86d39ef commit 32c9860
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments