feat: Add thinking-level benchmarking support#378
Merged
olearycrew merged 1 commit intomainfrom May 5, 2026
Merged
Conversation
Add --thinking flag to benchmark.py to configure reasoning depth for models that support it. Valid levels: off, minimal, low, medium, high, xhigh, adaptive. Changes: - Add VALID_THINKING_LEVELS constant in lib_agent.py - Add thinking_level parameter to execute_openclaw_task() - Pass --thinking to openclaw agent command - Add --thinking argument to benchmark.py with validation - Update README command reference This is a clean rebase of PR #76 (originally from #12 by @jb510) against the current main branch which has significantly evolved. Co-authored-by: ForceConstant <ForceConstant@users.noreply.github.com> Co-authored-by: jb510 <jb510@users.noreply.github.com>
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Clean implementation of thinking-level support. The Files Reviewed (3 files)
Reviewed by claude-4.6-sonnet-20260217 · 99,364 tokens |
Closed
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.
Clean rebase of #76 (originally from #12 by @jb510) against current main.
Summary
Adds
--thinkingflag to configure reasoning depth for models that support it.Changes
VALID_THINKING_LEVELSconstant:off,minimal,low,medium,high,xhigh,adaptivethinking_levelparameter toexecute_openclaw_task()--thinkingtoopenclaw agentcommand--thinkingargument tobenchmark.pywith validationUsage
Why a new PR?
The original PR #76 had extensive merge conflicts due to main branch evolution (parallel judging, categories, incremental results, etc.). Rather than resolve 6 conflict blocks across 3 files, this is a clean implementation of the same feature on current main.
Supersedes #76.
Co-authored-by: ForceConstant ForceConstant@users.noreply.github.com
Co-authored-by: jb510 jb510@users.noreply.github.com