Changelog
New features
- Run context: You can now gain access to the run context in your tools, hooks, tool hooks, dependency functions and instructions functions, by adding adding the
run_contextparameter to them. This streamlines access and management of state data, and fixes some edge cases. Read more in our docs. - RedisVL Vector DB: Added support for Redis as a VectorDB for Knowledge. See the docs
- VLLM Embeddings: Added support for using vLLM models for embeddings. See the docs.
Improvements
- MCP tool name prefix: Added
tool_name_prefixas a parameter in theMCPToolsclass, allowing to add a prefix to all tool names related to the contextual MCP server. This is useful to avoid name collisions when using multiple MCP servers. - AgentOS Improved Logging: Added more logs for internal errors or any other HTTP exceptions, for easier debugging.
Bug Fixes:
update_cultural_knowledgein Culture not working with async db: Fix asyncCultureManagerfunctions to use correct functions for async db.- Remove
highlightsfromExaTools: Highlights was removed as a parameter from Exa from v2.0.0 onwards. For newer versions - AsyncDB on Knowledge Filtering: Fixed issues when using knowledge filters and async databases together.
What's Changed
- fix: using culture's
update_cultural_knowledgewith async db by @kausmeows in #5284 - [fix] no run_response passed to model.get_request_params by @5739n4 in #5266
- fix: testing github actions by @dirkbrnd in #5285
- fix: Remove highlights parameter (removed from Exa API v2.0.0) by @pixelsoccupied in #5280
- Fix: Add missing text_contents parameter to add_contents method signature by @ron-42 in #5239
- feat: add tool_name_prefix param to MCPTools by @hypen-code in #5271
- feat: introduce run context by @manuhortet in #5151
- feat: VectorDB migrations script by @willemcdejongh in #5172
- fix: Error handling AgentOS by @dirkbrnd in #5283
- fix: tool execution import by @kausmeows in #5304
- fix: determining tools for Teams in OS schema by @manuhortet in #5305
- fix: Model Response Unbound issue by @dirkbrnd in #5303
- fix: Async DBs on Knowledge filters by @dirkbrnd in #5306
- [feat] Add Redis as supported VectorDB by @rbs333 in #5221
- feat: Add VLLM embedder support (local/remote) by @uzaxirr in #5187
- [fix] Correct type annotation for pre_hooks and post_hooks to allow mixed lists by @krishnarathore12 in #5307
- chore: Release 2.2.7 by @dirkbrnd in #5287
New Contributors
- @pixelsoccupied made their first contribution in #5280
- @hypen-code made their first contribution in #5271
- @rbs333 made their first contribution in #5221
- @krishnarathore12 made their first contribution in #5307
Full Changelog: v2.2.6...v2.2.7