v2.8.0b1
Pre-release
Pre-release
This release reverts the LyricsGenius integration introduced in v2.7.0 due to persistent bot detection issues, and introduces a new Ollama web search tool as an alternative search provider.
Reverts:
- LyricsGenius Integration Removed: Completely removed the LyricsGenius library and all associated code.
- Removed
lyricsgenius_web_search.pymodule and all Genius API integration. - Reverted
agent_wrapper.pyto use the DuckDuckGo search tool. - Updated configuration to support
'duckduckgo'as the defaultweb_search_tool. - Removed
lyricsgeniusdependency and restoredduckduckgoinpydantic-ai-slim. - Reason: The LyricsGenius integration (v2.7.0) proved unreliable due to Genius and DuckDuckGo actively detecting and blocking automated requests, making lyrics retrieval consistently fail.
- Removed
New Features:
- Ollama Web Search Tool: Added support for Ollama as a web search provider, expanding the available search options beyond DuckDuckGo and builtin provider tools.
- Introduced
OllamaWebSearchDepsandollama_web_search_multifunction for web search. - Added
OllamaSearchSettingsconfiguration class with API key validation. - Updated
web_search_tooloption to include'ollama'alongside'builtin'and'duckduckgo'. - Refactored agent initialization to use
AsyncExitStackfor proper resource cleanup.
- Introduced
Fixes & Improvements:
- Gemini CLI Web Search Warning: Previously, the Gemini CLI branch silently discarded
builtin_toolsandfunction_toolswhenuse_web_searchwasTrue, meaning the configuredweb_search_toolwas silently ignored. Now alogfire.warn()is emitted explaining that the tool will be skipped, and the agent is created without web search.
What's Changed
- revert: remove LyricsGenius integration, restore DuckDuckGo search by @FlippFuzz in #6
Full Changelog: v2.7.0...v2.8.0b1