v1.0.1
ankitects/ankiv1.0.1Jan 6, 2026by asdek
AI Summary
This patch release focuses on improving the stability and reliability of AI agents by enhancing error diagnostics, migrating the DuckDuckGo search provider, and updating OpenAI configurations to bypass content filters.
Key Highlights
- Enhanced error diagnostics include stop reason details and automatic `max_tokens` adjustment for LLM failures.
- Migrated to a new DuckDuckGo API with HTML response parsing for significantly improved search reliability.
- Added explicit authorization frameworks to agent prompts to prevent blocking by OpenAI, Anthropic, and Google content filters.
- Switched primary agent model from `gpt-5` to `o4-mini` to address prompt evaluation instability.
New Features
- Added customer interaction protocol for AskUser tool
- Enhanced message formatting in vector store communications with document match scores
Full Release Notes
## 🐛 Bug Fixes & Improvements ### Enhanced Error Diagnostics - Added stop reason to error messages when LLM fails to generate tool calls - If stop reason is `length`, increase `max_tokens` parameter for the affected agent in provider settings - Improves troubleshooting and configuration optimization ### DuckDuckGo Search Stability - Migrated to new DuckDuckGo API with HTML response parsing - Added comprehensive test coverage with real-world search scenarios - Significantly improved reliability and result quality ### Provider Guardrails Bypass - Added explicit authorization framework to all agent prompts - Prevents blocking by OpenAI, Anthropic, and Google Gemini content filters - Clarified penetration testing context as pre-authorized activity ### OpenAI Configuration Updates - Temporarily switched from `gpt-5` to `o4-mini` for primary agent and assistant due to OpenAI prompt evaluation instability - Increased `max_tokens` limits across multiple agents for better output capacity - **Recommendation**: Enable Human-in-the-loop mode (`ASK_USER=true` in `.env`) when using OpenAI provider for improved stability ### Additional Improvements - Enhanced message formatting in vector store communications with document match scores - Improved clarity in generator and refiner prompts for user task interpretation - Added customer interaction protocol for AskUser tool --- **Full Changelog**: https://github.com/vxcontrol/pentagi/compare/v1.0.0...v1.0.1