refactor(4.3): вынести роутер в routing.decide_engine + детерминированный юнит-тест (поведение не меняется)
Закрывает аудит-претензию «хрупкий нетестируемый keyword-роутер»: логика идентична прежней inline-версии, но теперь покрыта прямым тестом (5 кейсов) в CI. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,4 +12,4 @@ jobs:
|
||||
- name: Синтаксис всех модулей (py_compile)
|
||||
run: python3 -m py_compile *.py
|
||||
- name: Юнит-тесты без живого сервера
|
||||
run: python3 -m pytest tests/test_chat_context.py tests/test_code_validator.py tests/test_gge_deep.py -q
|
||||
run: python3 -m pytest tests/test_chat_context.py tests/test_code_validator.py tests/test_gge_deep.py tests/test_routing.py -q
|
||||
|
||||
Reference in New Issue
Block a user