mirror of
https://github.com/langchain-ai/langgraph-swarm-py.git
synced 2026-07-01 12:47:18 -04:00
366f9c54f1
* Update code, examples and docs to use langchain.agents.create_agent instead of langgraph.prebuilt.create_react_agent * Replace 'prompt' parameter with 'system_prompt' parameter throughout codebase * Update imports from langchain_core to langchain for messages and tools * Fix Union type detection for Python 3.10+ compatibility * Resolve type checking and linting issues Since the migration to langchain v1 didn't seem to progress, I did the changes myself. Working correctly now, I let you judge, feel free to merge/fork or not. Closes #104