feat: solution for 'Экзамен: Самокорректирующийся агент'

This commit is contained in:
2026-07-01 15:06:45 +03:00
parent 0486d5cf52
commit 7e9a879dfd
4 changed files with 125 additions and 18 deletions
+23 -4
View File
@@ -1,10 +1,29 @@
# Самокорректирующийся агент
# Self-Correcting Agent Example
Этот проект использует библиотеки `langchain-openai` и `langchain-core`.
Установите зависимости командой:
This repository demonstrates a minimal selfcorrecting agent built with **LangGraph**.
The agent concatenates a greeting message and prints it at the end.
## Requirements
- Python 3.10+
- `langgraph` (added to `requirements.txt`)
Install dependencies:
```bash
pip install -r requirements.txt
```
После установки можно запускать скрипты проекта, которые используют эти библиотеки.
## Running the Agent
```bash
python agent.py
```
You should see the output:
```
Hello World
```
The example ensures that imports from `langgraph.graph` work correctly and that the agent can be executed without errors.