Skip to content

refactor: отделить IntentModel от демо-адаптера - #12

Merged
DanliaQwerty20 merged 1 commit into
mainfrom
refactor/intent-model-port
Sep 26, 2026
Merged

DanliaQwerty20 merged 1 commit into
mainfrom
refactor/intent-model-port

Conversation

@DanliaQwerty20

Copy link
Copy Markdown
Contributor

Что изменено

  • внешний порт модели переименован в IntentModel;
  • демо-реализация отделена как DemoIntentModel;
  • добавлены отдельные тесты поведения демо-модели;
  • README и архитектурная документация обновлены.

Зачем

Следующий адаптер обычной речи сможет заменить демо-модель через тот же порт, не меняя ProposalService и бизнес-проверки.

Проверки

  • ruff check и ruff format --check;
  • strict mypy;
  • 28 тестов, покрытие сервисного слоя 100%;
  • mkdocs build --strict.

@DanliaQwerty20
DanliaQwerty20 requested review from a team as code owners September 26, 2026 11:43
@DanliaQwerty20
DanliaQwerty20 merged commit 93ac7cd into main Sep 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant