feat: web search via DuckDuckGo in chat#635
Merged
Conversation
- New module `modules/search/` with DuckDuckGo web search service - `web_search_enabled` field on ChatSession (toggle per chat) - WEB_SEARCH_TOOL alongside KNOWLEDGE_SEARCH_TOOL in agentic loop - Globe toggle button in zen toolbar (blue when active) - Streaming indicator shows "Searching the web: query" during web search - Refactored tool dispatch to `_execute_tool_call()` + `_build_tools()` - i18n for ru/en/kk ## NEWS 🌐 **Веб-поиск прямо в чате!** Теперь ИИ-секретарь умеет искать актуальную информацию в интернете. Нажмите кнопку-глобус в панели чата, и ассистент сможет гуглить новости, цены, погоду и любые свежие данные прямо во время разговора. Работает через DuckDuckGo — бесплатно и без ограничений. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
modules/search/module with DuckDuckGo web search serviceweb_search_enabledboolean field on ChatSession + Alembic migrationWEB_SEARCH_TOOLadded to agentic loop alongsideknowledge_search_execute_tool_call()helperduckduckgo-search>=8.0added to requirements.txtNEWS
🌐 Веб-поиск прямо в чате!
Теперь ИИ-секретарь умеет искать актуальную информацию в интернете.
Нажмите кнопку-глобус в панели чата, и ассистент сможет гуглить
новости, цены, погоду и любые свежие данные прямо во время разговора.
Работает через DuckDuckGo — бесплатно и без ограничений.
Test plan
🤖 Generated with Claude Code