Commit 9dc3161
🐛 Defer Gemini client imports to fix CLI startup
Move generate_banner and generate_logo imports from module scope to inside
_run_media_generation(). This prevents genai.Client instantiation at import
time, allowing all CLI commands to work without GEMINI_API_KEY configured.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent d61f870 commit 9dc3161
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
| |||
457 | 454 | | |
458 | 455 | | |
459 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| |||
0 commit comments