v2.9.0b1
Pre-release
Pre-release
This release introduces support for the Langsearch web search provider and updates the underlying Pydantic AI agent initialization to align with the latest pydantic-ai capabilities API. Default AI models have also been updated to the latest Gemini Flash versions.
New Features:
- Langsearch Integration: Added support for
langsearchas a web search provider for lyrics and scene detection. This can be configured via theweb_search_toolsetting and requires aLANGSEARCH_API_KEY. - Pydantic AI Capabilities Update: Updated agent initialization to use the new
capabilitiesAPI forpydantic-ai, replacing the deprecatedbuiltin_toolsargument. This ensures compatibility with newer versions ofpydantic-aiand aligns with recommended practices for agent configuration. - Updated Default AI Models: The default models for
model_subtitlesandmodel_lyricshave been updated togemini-3.5-flashandgemini-3.1-flash-literespectively.
Fixes & Improvements:
- Unified Web Search Architecture: Refactored the web search infrastructure to support multiple providers (Ollama, Langsearch) using a unified configuration (
WebSearchSettings) and dependency model (WebSearchDeps). This centralizes HTTP client management, in-memory caching, and rate limiting.
What's Changed
- Langsearch by @FlippFuzz in #8
Full Changelog: v2.8.2...v2.9.0b1