anderson-ufrj
commited on
Commit
·
e823f6f
1
Parent(s):
983dff8
fix: correct import error in src/__init__.py
Browse files- Changed CidadaoAIException to CidadaoAIError to match actual class name
- Fixes ImportError preventing API startup on HuggingFace deployment
The exception class was renamed but the import statement in __init__.py
was not updated, causing the application to fail during initialization.
- src/__init__.py +2 -2
src/__init__.py
CHANGED
|
@@ -46,7 +46,7 @@ __description__ = "Sistema multi-agente de IA para transparência pública brasi
|
|
| 46 |
|
| 47 |
# Key exports for external usage
|
| 48 |
from src.core.config import get_settings
|
| 49 |
-
from src.core.exceptions import
|
| 50 |
|
| 51 |
# Version info tuple
|
| 52 |
VERSION = (1, 0, 0)
|
|
@@ -66,5 +66,5 @@ __all__ = [
|
|
| 66 |
"VERSION",
|
| 67 |
"VERSION_INFO",
|
| 68 |
"get_settings",
|
| 69 |
-
"
|
| 70 |
]
|
|
|
|
| 46 |
|
| 47 |
# Key exports for external usage
|
| 48 |
from src.core.config import get_settings
|
| 49 |
+
from src.core.exceptions import CidadaoAIError
|
| 50 |
|
| 51 |
# Version info tuple
|
| 52 |
VERSION = (1, 0, 0)
|
|
|
|
| 66 |
"VERSION",
|
| 67 |
"VERSION_INFO",
|
| 68 |
"get_settings",
|
| 69 |
+
"CidadaoAIError",
|
| 70 |
]
|