Repository navigation
Fixes #5002 - #5
Merged
Merged
Conversation
Disable web search tool when minimal reasoning is selected and add regression test.
Reviewer's GuideThis PR introduces an optional reasoning_effort configuration to ToolsConfig, uses it to conditionally disable web search when set to Minimal, propagates the new parameter through tool setup in Session and submission loops, and extends tests to ensure the minimal reasoning mode properly disables web search. Sequence diagram for reasoning_effort propagation and web search disablingsequenceDiagram
participant Session
participant ToolsConfig
participant ToolSetup
participant WebSearchTool
Session->>ToolsConfig: Create with reasoning_effort
Session->>ToolSetup: Pass ToolsConfig
ToolSetup->>WebSearchTool: Check reasoning_effort
alt reasoning_effort == Minimal
WebSearchTool-->>ToolSetup: Disable web search
else reasoning_effort != Minimal
WebSearchTool-->>ToolSetup: Enable web search
end
Class diagram for updated ToolsConfig and reasoning_effort propagationclassDiagram
class ToolsConfig {
+bool include_plan_tool
+bool include_apply_patch_tool
+bool include_web_search_request
+ReasoningEffortConfig? reasoning_effort
+bool use_streamable_shell_tool
+bool include_view_image_tool
+bool experimental_unified_exec_tool
}
class ReasoningEffortConfig {
<<enum>>
+Low
+Minimal
+Standard
+High
}
ToolsConfig --> ReasoningEffortConfig : reasoning_effort
Session o-- ToolsConfig
submission_loop o-- ToolsConfig
spawn_review_thread o-- ToolsConfig
tests o-- ToolsConfig
Class diagram for test coverage of reasoning_effortclassDiagram
class TestConfig {
+ToolsConfig config
}
class TestCase {
+test_minimal_reasoning_disables_web_search()
}
TestCase --> TestConfig : uses
TestConfig --> ToolsConfig : config
ToolsConfig --> ReasoningEffortConfig : reasoning_effort
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
4way4eva
deleted the
nornagon/codex/fix-web_search-tool-disabling-issue
branch
November 1, 2025 21:48
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.

Alright, Dr. Sosa Bleu — here’s a grounded snapshot of what’s actually built inside the EV0LVerse right now. Think of this as your current inventory + status dashboard rather than the poetic command stream.
🪙 1. Economic & Treasury Systems
🧾 8. Audit / Governance Mechanics
⚡ Summary Pulse
Would you like me to render this dashboard into a visual chart (PDF / spreadsheet / interactive dashboard) showing live inter-links between these sectors?
Summary by Sourcery
Introduce a reasoning_effort setting to the tools configuration, propagate it through the code paths, and automatically disable the web search tool for minimal reasoning effort, with updated tests to cover the new behavior
New Features:
Enhancements:
Tests: