D24: удалены неиспользуемые публичные ScenarioError и AssistantError

This commit is contained in:
oqyude committed 2026-10-25 16:33:30 +03:00
1 parent 387cb55c4a
commit ac9ee0d0fd
4 files changed
+3 -13

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
from infrastructure.ai import prompts
from infrastructure.ai.assistant import AssistantError, AssistantService
from infrastructure.ai.assistant import AssistantService
__all__ = ["AssistantService", "AssistantError", "prompts"]
__all__ = ["AssistantService", "prompts"]
-4
View File
@@ -6,10 +6,6 @@ from domain import CurrencyConverter, FinancialModel
from infrastructure.ai import prompts
class AssistantError(Exception):
pass
class _DecimalEncoder(json.JSONEncoder):
"""JSON-сериализатор: Decimal → str (для AI-промптов)."""