Skip to content

Conversation

@chm3778
Copy link

@chm3778 chm3778 commented Jan 21, 2026

This pull request adds support for enabling grounded web search in the DeepThink workflow, allowing models to use web search tools when supported. The main changes include a new "Web Search" toggle in the settings UI, propagation of the enableWebSearch configuration throughout the codebase, and updates to service functions to conditionally use web search tools and display sources in results.

User Interface and Configuration:

  • Added a "Web Search" toggle to the ThinkingSection settings UI, allowing users to enable or disable grounded web search for supported models.
  • Updated the AppConfig type and default configuration to include the new enableWebSearch property. [1] [2]

DeepThink Workflow Integration:

  • Propagated the enableWebSearch setting through the useDeepThink hook and into all relevant DeepThink service calls, ensuring that the setting is respected throughout the expert, manager, and synthesis stages. [1] [2] [3] [4] [5] [6]

Service Layer and Web Search Tool Usage:

  • Updated expert, manager analysis, manager review, and synthesis service functions to conditionally include the web search tool for Google provider models. Added error handling to gracefully fall back if the tool fails. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Result Presentation:

  • When web search is enabled and sources are found, appended a markdown-formatted list of sources to the expert response output. [1] [2]Add web search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant