feat: Human-in-the-Loop через middleware

- Агент с HumanInTheLoopMiddleware для подтверждения вызовов инструментов
- Инструменты: get_weather, search_web
- Цикл: invoke → __interrupt__ → approve/reject → Command(resume=...)
- Поддержка approve и reject с сообщением при отказе
- requirements.txt, .env.example, README.md
This commit is contained in:
2026-05-08 17:18:24 +03:00
commit ebe9e913f5
4 changed files with 206 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
langchain-core>=0.3.0
langchain-openai>=0.2.0
langgraph>=0.2.0
python-dotenv>=1.0.0