What’s Changed
Core Improvements
- Standardized node output management - Added
set_output()
andget_output()
methods to handle node outputs in a standardized way using Pydantic models. Users can now access node data by simply providing the node class, eliminating the need to memorize specific keys for storing and retrieving node outputs. - Enhanced RouterNode functionality - Added task context handling and improved output management capabilities
- Refactored node and workflow logic - Updated base node and workflow classes to support task context handling across the system
- Code cleanup - Removed unused OpenAI model imports from agent module
Model Provider Updates
- OpenAI integration - Migrated from
OpenAIModel
toOpenAIChatModel
for improved consistency
Dependencies
- Updated
pydantic-ai
from >=0.7.5 to >=1.0.15 - Updated
alembic
dependency to >=1.16.4 - Updated
uv.lock
with latest package metadata
Files Changed
app/core/nodes/agent.py
app/core/nodes/base.py
app/core/nodes/router.py
app/core/workflow.py
pyproject.toml
uv.lock