v1.2.7
1.2.7
Created: March 31, 2025 4:13 PM
Changelog
New Features:
- Gemini Image Generation: Added support for generating images straight from Gemini using the
gemini-2.0-flash-exp-image-generation
model.
Improvements:
- Vertex AI: Improved use of Vertex AI with Gemini Model class to closely follow the official Google specification
- Function Result Caching Improvement: We now have result caching on all Agno Toolkits and any custom functions using the
@tool
decorator. See the docs here. - Async Vector DB and Knowledge Base Improvements: Various knowledge bases, readers and vector DBs now have
async-await
support, so it will be used inagent.arun
andagent.aprint_response
. This also means thatknowledge_base.aload()
is possible which should greatly increase loading speed in some cases. The following have been converted:- Vector DBs:
- Knowledge Bases:
JSONKnowledgeBase
→ Here is a cookbook to illustrate how to use it.PDFKnowledgeBase
→ Here is a cookbook to illustrate how to use it.PDFUrlKnowledgeBase
→ Here is a cookbook to illustrate how to use it.CSVKnowledgeBase
→ Here is a cookbook to illustrate how to use it.CSVUrlKnowledgeBase
→ Here is a cookbook to illustrate how to use it.ArxivKnowledgeBase
→ Here is a cookbook to illustrate how to use it.WebsiteKnowledgeBase
→ Here is a cookbook to illustrate how to use it.YoutubeKnowledgeBase
→ Here is a cookbook to illustrate how to use it.TextKnowledgeBase
→ Here is a cookbook to illustrate how to use it.
Bug Fixes:
- Recursive Chunking Infinite Loop: Fixes an issue with RecursiveChunking getting stuck in an infinite loop for large documents.
What's Changed
- Update PR template by @ashpreetbedi in #2617
- pr_template_update by @ysolanky in #2619
- MCP playground example by @dirkbrnd in #2588
- reasoning-fix-ag-2924 by @ysolanky in #2590
- improve-message-history-ag-2922 by @ysolanky in #2580
- improve-vertexi-implementation-ag-2927 by @ysolanky in #2618
- Add Gemini image generation support by @dirkbrnd in #2621
- Better function result caching by @dirkbrnd in #2584
- async milvus vector db by @kausmeows in #2555
- async support for json kb and reader by @kausmeows in #2615
- async support for csv reader and kb with tests by @kausmeows in #2626
- Fix issue with async generators by @dirkbrnd in #2643
- weaviate vector db async support by @kausmeows in #2526
- add async support for arxiv reader by @kausmeows in #2593
- chore: update cluster.py by @eltociear in #2609
- async support text reader by @kausmeows in #2598
- updated logging messages in Agent class by @laitifranz in #2490
- Make the default embedder the latest model from Gemini by @dirkbrnd in #2645
- recursive-chunking-fix-ag-2925 by @ysolanky in #2591
- add async support for website reader and kb by @kausmeows in #2603
- async support for youtube reader and kb by @kausmeows in #2614
- Release 1.2.7 by @dirkbrnd in #2646
New Contributors
- @laitifranz made their first contribution in #2490
Full Changelog: v1.2.6...v1.2.7