Skip to content

v0.2.0

Choose a tag to compare

@shenqidebaozi shenqidebaozi released this 18 Nov 14:13
· 54 commits to main since this release
c3b15b4

🚀 Features

  • Flow: Add Handoff Agent for intelligent agent task delegation and collaboration (#135)
  • Flow: Add Sequential Agent for pipeline-style workflow execution (#136)
  • Flow: Add Parallel Agent for concurrent agent execution to improve efficiency (#137)
  • Flow: Add Loop Agent for iterative task processing (#138)
  • Middleware: Add retry middleware for automatic failed request handling (#130)
  • Tools: Add middleware support and options to NewFunc (#128)
  • Model: Support custom request options for model providers (#144)
  • Examples: Add examples target to Makefile and make model configurable via environment variables (#152)
  • Agent: Simplify streaming response handling and add tools streaming example (#132)

🔧 Improvements

  • Handoff: Improve agent handoff logic and prompt optimization (#140, #153)
  • Agent: Improve session storage and message handling (#142)
  • Agent: Conditionally yield assistant messages for better control (#149)
  • Runner: Handle iteration properly in Run method (#150)

🏗️ Refactoring

  • Model: Refactor model provider architecture design (#133)
  • Model: Refactor model configuration structure (#143)

🐛 Bug Fixes

  • Agent: Add final response yield in non-streaming mode (#134)
  • Examples: Modify routing example prompt and logic (#151)

📚 Documentation

  • Readme: Update code examples and fix indentation (#145)

📦 Dependencies

  • OpenAI: Upgrade openai version to v3.8.1 (#154)

🏆 Version Highlights

  • Workflow Engine: Complete Flow workflow system with Handoff, Sequential, Parallel, and Loop agents
  • Enhanced Middleware: Retry middleware and tool middleware support for better extensibility
  • Improved Reliability: Multiple fixes ensure more stable system operation
  • Better Developer Experience: Simplified configuration and practical examples

🔗 Full Changelog

View complete changelog