Releases: go-kratos/blades
Releases · go-kratos/blades
v0.3.1
What's Changed
- trying to marshal unsupported type func() *github.com/google/jsonsc… by @TomYang1024 in #179
- r.Evaluate undefined (type evaluate.Evaluator has no field or method by @TomYang1024 in #178
- fix token usage zero issue for streaming mode of openai model by @jayn1985 in #180
- feat(example): add image-to-text example and update message parts API by @tonybase in #181
- add ckpt feature for graph by @longXboy in #167
- refactor(runner): ensure message author is set and improve history handling by @tonybase in #183
- fix(runner): optimize message handling and state management by @tonybase in #184
- refactor(evaluator): rename package from evaluate to evaluator by @tonybase in #185
New Contributors
- @TomYang1024 made their first contribution in #179
- @jayn1985 made their first contribution in #180
Full Changelog: v0.3.0...v0.3.1
v0.3.0
🚀 Features
Agent System Enhancements
- Implement tool context and action tracking (#159)
- Add invocation model & tools & instructions (#160)
- Add action interruption support and improve handoff flow (#170)
Flow Management
Runner Features
- Add runner resume functionality (#163)
Workflow Examples
🔧 Improvements
Agent Architecture
- Introduce InstructionProvider and optimize instruction management (#162)
Documentation
- Add project badge to README (#177)
🐛 Bug Fixes
Agent
Message Handling
- Remove unused code and simplify state cloning (#166)
- Add nil check for message in appendNewMessage (#169)
Contrib Providers
- Fix linting issues in gemini and openai providers (#168)
📦 Dependencies
- Upgrade contrib/openai version (#158)
👥 New Contributors
🔗 Links
Full Changelog: v0.2.0...v0.3.0
v0.2.0
🚀 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
v0.1.1
🚀 Features
- Agent: Add conversation history support and improve error handling (#121)
- Agent: Expose tools and schemas in agent context (#122)
- Agent: Add model context (#124)
🔧 Refactoring
- Examples: Reorganize example files into categorized directories (#126)
🐛 Bug Fixes
- MCP: Fix the default value for timeout not being effective (#125)
- MCP: Move reconnect setup to Connect method (#127)
📦 Dependencies
- Documentation: Upgrade blades version to v0.1.0 (#129)
👥 New Contributors
🔗 Full Changelog
v0.1.0
⏺ Changelog v0.1.0
🚀 Features
- Claude Provider: Add Anthropic provider with multi-channel support (#43)
- Gemini Provider: Add Gemini model provider with error constants and functions (#38)
- Tool Architecture: Major refactor of tool architecture with typed support (#41, #68, #110, #111, #114)
- JSON Schema: Use github.com/google/jsonschema-go for jsonschema (#35)
- Image & Audio: Add image and audio support (#7, #44)
- Session Management:
- Graph Flow:
- Evaluation System: Add evaluation types and interface (#72, #86)
- MCP Support: Add MCP client support with resolver (#81, #90)
- Middleware:
- Streaming: Refactor streaming API to use direct iterator functions with early termination support (#102, #104)
- Agent Enhancements:
- Documentation: Add docs translation and build workflow (#88, #83)
🐛 Fixes
- Remove .DS_Store files (#14)
- Fix stream closure in examples and OpenAI provider (#9, #15, #36)
- Fix chain RunStream to stream results asynchronously (#5)
- Fix typo: histroy_agent → history_agent (#4)
- Fix sequential prompt loss (#61)
- Fix SearchMemory range memories break if a memory is matched in loop words (#63)
- Fix graph parallel wait (#77)
- Fix condition and parallel wait bug (#80)
- Fix doc translate output path (#91)
- Fix doc use instructions and user prompt (#93)
- Fix message: remove extra parenthesis in TextPart string representation (#98)
- Fix MCP invalid request parameters (#115)
🔧 Refactoring
- Provider: Restructure client with options pattern and simplify types (#54)
- Tools: Convert Tool.Handle to ToolHandler interface (#41, #68, #110, #111)
- Agent: Unify handler interface and middleware API (#60, #108, #113)
- Session: Replace Task-based recording with message history (#64, #84, #85)
- Prompt Template: Refactor with context support (#57)
- Generics: Major generics refactoring (#58)
- Streamable: Refactor to be implemented via iterator (#101)
- Graph Task: Refactor graph task implementation (#89)
- Session Context: Add invocation context (#97, #106)
- Options: Rename Option to AgentOption and improve context handling (#105)
🏗️ Architecture Improvements
- Add memory, store, and tool components (#50)
- Refactor generics across the codebase (#58)
- Remove flow transition system (#62)
- Add latest method to Prompt struct (#52)
- Add thinking config support for gemini and claude (#55)
- Remove noisy chat log (#59)
- Remove unnecessary i := i in range loop (#73)
📝 Documentation & Tooling
- Add issue templates (#29)
- Add prompt examples (#74)
- Update README.md (#107)
- Update docs (#109)
- Add claude go.mode package (#45)
- Update Go version in GitHub Actions workflow (#12)
- Add package claude go.mode (#45)
👥 New Contributors
- @flc1125
- @lin-snow
- @tonybase
- @shenqidebaozi
- @jianghushinian
- @wcvb13
- @loveRyujin
- @lsytj0413
- @sweetpotato0
Full Changelog: https://github.com/go-kratos/blades/commits/v0.1.0