feat: текстовая игра на основе LLM + interrupt

- GameState (TypedDict) с полями: topic, setup, choices, selected_choice, ending
- story_node: генерация завязки → interrupt() → генерация концовки
- Цикл обработки __interrupt__ с Command(resume=...)
- Поддержка questionary и fallback на input()
- requirements.txt, .env.example, README.md
This commit is contained in:
2026-05-08 17:17:41 +03:00
commit f4b9ee156c
4 changed files with 227 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
langchain-core>=0.3.0
langchain-openai>=0.2.0
langgraph>=0.2.0
questionary>=2.0.0
python-dotenv>=1.0.0