-
Notifications
You must be signed in to change notification settings - Fork 250
feat(dte): dynamic thinking effort (series PRs 1-5 + e2e addenda + F7) #1379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
easonLiangWorldedtech
wants to merge
124
commits into
Zoo-Code-Org:main
Choose a base branch
from
easonLiangWorldedtech:feat/dte-trial-all
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 106 commits
Commits
Show all changes
124 commits
Select commit
Hold shift + click to select a range
a05830c
feat(experiments): add dynamic thinking effort experimental setting
easonliang28 1cf4f0d
test(experiments): cover explicit false and omitted dynamic thinking …
easonliang28 6ea45b3
feat(task): task-local thinking effort state, per-request override, a…
easonliang28 5db5cf4
Merge remote-tracking branch 'upstream/main' into feat/dte-1-experiment
easonliang28 9275aa1
Merge remote-tracking branch 'upstream/main' into feat/dte-2-task-state
easonliang28 14d1f35
fix(task): keep override restore value current across profile switches
easonliang28 90b47b0
docs(task): JSDoc for diff-touched functions flagged by CodeRabbit
easonliang28 cce1aea
Merge remote-tracking branch 'upstream/main' into feat/dte-5-orchestr…
easonliang28 d64a473
Merge remote-tracking branch 'upstream/main' into feat/dte-3-native-tool
easonliang28 2d53e91
Merge remote-tracking branch 'origin/feat/dte-1-experiment' into feat…
easonliang28 fcc3cf4
feat(task): set_thinking_effort native tool
easonliang28 0ab4a60
Merge remote-tracking branch 'upstream/main' into feat/dte-3-native-tool
easonliang28 146c5c8
feat(task): orchestrator new_task thinking_effort
easonliang28 f6410bb
Merge remote-tracking branch 'upstream/main' into feat/dte-5-orchestr…
easonliang28 19954d3
fix(task): harden set_thinking_effort per review feedback
easonliang28 6ad8d86
test(e2e): new_task thinking_effort pass-through (DTE addendum)
easonliang28 4eb13a9
fix(task): new_task thinking_effort review fixes (boolean capability,…
easonliang28 f6e1178
Merge branch 'feat/dte-5-orchestrator' into feat/dte-5-e2e
easonliang28 c3df095
feat(webview): thinking effort surfaces — header chip, composer toggl…
easonliang28 4a6ee69
fix(task): forward new_task thinking_effort through native tool-call …
easonliang28 d301642
Merge branch 'feat/dte-5-orchestrator' into feat/dte-5-e2e
easonliang28 7dde456
fix(webview): add accessible name to the icon-only thinking effort to…
easonliang28 b8d878f
test(e2e): assert negative new_task thinking_effort rejection at the …
easonliang28 018f165
fix(task): keep new_task delegation alive when the fallback effort sa…
easonliang28 630c49d
Merge branch 'feat/dte-5-orchestrator' into feat/dte-5-e2e
easonliang28 026bca7
test(task): document partial provider double and assert delegation me…
easonliang28 ada7c56
test(webview): cover the task-local thinking effort state push branch
easonliang28 3ea9f63
webview(chat): localize new_task thinking effort selector labels
easonliang28 4f88bce
test(e2e): allow the live Anthropic upstream in the effort proxy guard
easonliang28 471490b
Merge branch 'feat/dte-5-orchestrator' into feat/dte-5-e2e
easonliang28 96cf256
test(webview): assert the localized accessible name on the thinking e…
easonliang28 ac84f5e
test(webview): model the no-override thinking effort shape after the …
easonliang28 e83af72
test(e2e): set_thinking_effort mid-task workflow (DTE addendum)
easonliang28 3ae54d1
Merge branch 'feat/dte-4-webview-ui' into feat/dte-trial-all
easonliang28 5b33232
Merge branch 'feat/dte-5-orchestrator' into feat/dte-trial-all
easonliang28 ce0e90b
Merge branch 'feat/dte-5-e2e' into feat/dte-trial-all
easonliang28 f152b98
Merge branch 'feat/dte-3-e2e' into feat/dte-trial-all
easonliang28 784ee90
feat(webview): show thinking-effort toggle + chip without the experim…
easonliang28 42b423d
test(e2e): temporary DTE-DEBUG capture of request shapes (revert afte…
easonliang28 396a9b1
fix(tool): reject capability arrays with no settable effort
easonliang28 e502417
test(webview): type thinking-effort test helpers
easonliang28 27dea9b
feat(i18n): translate dynamic thinking effort setting (11 locales)
easonliang28 bbec2f9
fix(e2e): match post-tool DTE request by model + tool result
easonliang28 2a1a597
fix(e2e): keep DTE fixture file valid JSON
easonliang28 cfa6a64
Merge branch 'feat/dte-3-native-tool' into feat/dte-3-e2e
easonliang28 5f2e229
Merge branch 'feat/dte-3-native-tool' into feat/dte-trial-all (refresh)
easonliang28 efdc86b
Merge branch 'feat/dte-4-webview-ui' into feat/dte-trial-all (refresh…
easonliang28 1396736
feat(i18n): translate dynamic thinking effort setting (5 more locales)
easonliang28 9b6c8bc
fix(webview): include source in thinking-effort say-tool test type (t…
easonliang28 f309d3a
Merge branch 'feat/dte-3-native-tool' into feat/dte-3-e2e
easonliang28 f7057f0
test(webview): include source in thinking-effort say-tool test type
easonliang28 1270e7a
Merge branch 'feat/dte-3-native-tool' into feat/dte-3-e2e
easonliang28 e298f26
fix(i18n): drop emoji prefix and add missing space in thinking-effort…
easonliang28 03037d5
feat(webview): show current effort value + hover border on composer t…
easonliang28 e0b2112
test(webview): regenerate thinking-effort toggle baselines (value + h…
easonliang28 d4e9f26
fix(i18n): drop emoji prefix and add missing space in thinking-effort…
easonliang28 192b14d
Merge branch feat/dte-4-webview-ui into feat/dte-trial-all (round-2: …
easonliang28 90916a1
Apply the composer thinking effort to the next task when none is open
easonliang28 3eca87c
Compact the thinking-effort toggle menu padding
easonliang28 ddbd2f8
Merge feat/dte-4-webview-ui: pending composer effort + compact menu p…
easonliang28 e1f3429
feat(dte): let OpenAI-compatible profiles declare supported reasoning…
easonliang28 7c48c6b
Capture the toggle menu element in the visual baseline
easonliang28 218381e
Merge feat/dte-7-f7-openai-compat: F7 OpenAI-compatible declared reas…
easonliang28 72402a1
Regenerate thinking-effort toggle menu baselines (menu capture + comp…
easonliang28 37c8040
test(e2e): set_thinking_effort switching workflow (DTE addendum)
easonliang28 edb7ba6
Merge feat/dte-4-webview-ui: visual baseline fix + regenerated menu b…
easonliang28 d5d7f8a
Merge feat/dte-3-e2e: fixed DTE e2e fixture matching + switching suite
easonliang28 2983975
test(e2e): document DTE capture proxy + switching helper functions
easonliang28 549a85c
Merge feat/dte-3-e2e docstring commit
easonliang28 f756aab
test(e2e): settle expected display says before detaching listener (CI…
easonliang28 6d911e9
Merge feat/dte-3-e2e: display-say settle fix (CI event race)
easonliang28 2620a5f
docs(api): document provider getModel overrides touched by the F7 fil…
easonliang28 136d2b0
docs: document remaining DTE functions touched by the stacked diff
easonliang28 106a389
fix(dte): address CodeRabbit full-review findings on the stacked diff
easonliang28 9d58ba2
fix(task): persist task-local thinking effort on history items
easonliang28 4252fdd
fix(types): use .js extension for intra-package import
easonliang28 a6c5ac1
fix(webview): surface DTE controls for OpenAI-compatible profiles
easonliang28 001c8de
Merge commit 'a6c5ac1ee7517a0d3f9d63eee6a5266cb511de1d' into feat/dte…
easonliang28 bfae1b7
Merge commit '4252fdd3282ca0d96917985d5cccf20d3966fe7c' into feat/dte…
easonliang28 f11c19e
fix(webview): treat 'disable' effort selection as unchecking reasoning
easonliang28 f4845fe
Merge commit 'f11c19ea3' into feat/dte-trial-all
easonliang28 b4734b1
fix(core): mark effort display line isNonInteractive so a pending ask…
easonliang28 4b655b4
webview(chat): restyle new_task effort selector with dropdown tokens …
easonliang28 41a73f9
Merge commit 'b4734b1cd' into feat/dte-trial-all
easonliang28 9257f9b
Merge commit '4b655b4af' into feat/dte-trial-all
easonliang28 7903293
chore: re-run CI after flaky e2e-mock failure
easonliang28 66d7573
Merge commit '7903293df' into feat/dte-trial-all
easonliang28 fea97fd
webview(chat): keep native focus outline on new_task effort selector
easonliang28 7d3aa7a
Merge commit 'fea97fd3f' into feat/dte-trial-all
easonliang28 0f2c282
test(dte-5): cover the remaining partial branches to reach 100% patch…
easonliang28 cf54c85
feat(i18n): translate thinking effort auto-source label (8 locales)
easonliang28 86c40fb
feat(i18n): translate supported effort levels setting (17 locales)
easonliang28 f1e8667
test(webview): document partial ClineProvider double in provider-dele…
easonliang28 482656e
Merge commit 'cf54c85b9' into feat/dte-trial-all
easonliang28 4418589
Merge commit '86c40fbe5' into feat/dte-trial-all
easonliang28 50ec40a
Merge commit 'f1e866747' into feat/dte-trial-all
easonliang28 df96d3f
test(e2e): clear the reasoning envelope in the switching suite teardown
easonliang28 f702d43
Merge commit 'df96d3fbe' into feat/dte-trial-all
easonliang28 1324188
test(dte): cover router cache-fallback and reasoning-effort field bra…
easonliang28 b17373b
test(dte): cover unknown-settings-baseline effort-rank fallback
easonliang28 28d5def
test(dte): cover boolean capability pending-effort consumption
easonliang28 0b1c19d
Merge commit '132418896' into feat/dte-trial-all
easonliang28 46117be
Merge commit 'b17373bb9' into feat/dte-trial-all
easonliang28 231e305
Merge commit '28d5def97' into feat/dte-trial-all
easonliang28 8fac968
test(dte): point beforeAll Task double at the shared capability ref
easonliang28 310f0da
Merge commit '8fac96899' into feat/dte-trial-all
easonliang28 1a9604f
test(dte): cover both sides of the effort spread in taskMetadata
easonliang28 ce2ef97
Merge feat/dte-2-task-state @ 1a9604ff8 into trial (taskMetadata effo…
easonliang28 01394ae
fix(task): propagate cleared thinking effort through history-store merge
easonliang28 77ec064
fix(task): record pre-dispose effort snapshot on abort final save
easonliang28 d80be46
Merge commit '77ec064d3d9a2f218c4d52d3f0f7121e326578ba' into feat/dte…
easonliang28 2ab330e
fix(tools): do not name a level in the empty-capability new_task hint
easonliang28 62b3ba5
fix(i18n): correct Dutch spelling in the supported-efforts hint
easonliang28 65ee7b5
fix(dte): honor the per-request reasoningEffort override in the Ollam…
easonliang28 94928c2
test(webview): type the TaskHeader thinking-effort spec doubles
easonliang28 7aeec79
test(e2e): scope the DTE thinking-effort fixtures to their own flows
easonliang28 09abcfa
merge dte-5: unsupported-model thinking_effort wording
easonliang28 345a823
merge dte-7: native-ollama per-request effort override + nl settings …
easonliang28 204f9ec
merge dte-4: typed TaskHeader thinking-effort spec doubles
easonliang28 c8109bc
merge dte-3: flow-scoped DTE e2e fixtures
easonliang28 6eba686
fix(dte-5): normalize new_task capability levels before use
easonliang28 0902687
Merge branch 'feat/dte-5-orchestrator' of https://github.com/easonLia…
easonliang28 0b335c6
fix(dte-3): scope DTE e2e fixtures to their own flow via predicates
easonliang28 27a2e97
merge dte-3: predicate-scoped DTE e2e fixtures (CodeRabbit 3862663852…
easonliang28 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| { | ||
| "fixtures": [ | ||
| { | ||
| "match": { | ||
| "model": "openai/gpt-5.1", | ||
| "hasToolResult": false, | ||
| "turnIndex": 0 | ||
| }, | ||
| "response": { | ||
| "toolCalls": [ | ||
| { | ||
| "name": "set_thinking_effort", | ||
| "arguments": "{\"effort\": \"medium\", \"reason\": \"start at medium\"}", | ||
| "id": "call_dte_sw_001" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "match": { | ||
| "model": "openai/gpt-5.1", | ||
| "hasToolResult": true, | ||
| "turnIndex": 1 | ||
| }, | ||
| "response": { | ||
| "toolCalls": [ | ||
| { | ||
| "name": "set_thinking_effort", | ||
| "arguments": "{\"effort\": \"medium\", \"reason\": \"confirm current level\"}", | ||
| "id": "call_dte_sw_002" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "match": { | ||
| "model": "openai/gpt-5.1", | ||
| "hasToolResult": true, | ||
| "turnIndex": 2 | ||
| }, | ||
| "response": { | ||
| "toolCalls": [ | ||
| { | ||
| "name": "set_thinking_effort", | ||
| "arguments": "{\"effort\": \"high\", \"reason\": \"raise to high\"}", | ||
| "id": "call_dte_sw_003" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "match": { | ||
| "model": "openai/gpt-5.1", | ||
| "hasToolResult": true, | ||
| "turnIndex": 3 | ||
| }, | ||
| "response": { | ||
| "toolCalls": [ | ||
| { | ||
| "name": "set_thinking_effort", | ||
| "arguments": "{\"effort\": \"medium\", \"reason\": \"try returning to medium\"}", | ||
| "id": "call_dte_sw_004" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "match": { | ||
| "model": "openai/gpt-5.1", | ||
| "hasToolResult": true, | ||
| "turnIndex": 4 | ||
| }, | ||
| "response": { | ||
| "toolCalls": [ | ||
| { | ||
| "name": "attempt_completion", | ||
| "arguments": "{\"result\": \"DTE_E2E_SWITCH_DONE\"}", | ||
| "id": "call_dte_sw_005" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| { | ||
| "fixtures": [ | ||
| { | ||
| "match": { | ||
| "sequenceIndex": 0, | ||
| "userMessage": "DTE_E2E_EFFORT_APPLY: answer the math question" | ||
| }, | ||
| "response": { | ||
| "toolCalls": [ | ||
| { | ||
| "name": "set_thinking_effort", | ||
| "arguments": "{\"effort\": \"high\", \"reason\": \"multi-step math\"}", | ||
| "id": "call_dte_e2e_001" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "match": { | ||
| "model": "openai/gpt-5", | ||
| "hasToolResult": true, | ||
| "turnIndex": 1 | ||
| }, | ||
| "response": { | ||
| "toolCalls": [ | ||
| { | ||
| "name": "attempt_completion", | ||
| "arguments": "{\"result\": \"42\"}", | ||
| "id": "call_dte_e2e_002" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.