- Replace inline config loading with dedicated functions `_load_config` and `_get_section` (or `_get_base_urls`). - Add explicit error handling for missing files, invalid JSON, and I/O errors. - Validate config structure and section types to provide clear runtime errors. - Centralize logic to avoid code duplication across modules. |
||
|---|---|---|
| .. | ||
| TODO.md | ||
| __init__.py | ||
| anthropic_client.py | ||
| base_client.py | ||
| factory.py | ||
| google_client.py | ||
| openai_client.py | ||
| validators.py | ||