- 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. |
||
|---|---|---|
| .. | ||
| agents | ||
| dataflows | ||
| graph | ||
| llm_clients | ||
| __init__.py | ||
| default_config.py | ||