Skip to content

Apply admitted reasoning effort in OpenCode turns - #44

Merged
andyrewlee merged 1 commit into
mainfrom
feat/opencode-reasoning-effort
Dec 5, 2026
Merged

andyrewlee merged 1 commit into
mainfrom
feat/opencode-reasoning-effort

Conversation

@andyrewlee

Copy link
Copy Markdown
Contributor

Change

Apply the admitted turn's reasoning effort through OpenCode's request context hook. The configured provider serializes the setting for Anthropic Messages. The hook resolves the current operation, so a restart or later turn can use its own saved setting.

Verification

  • Both typechecks and all 526 package tests pass.
  • Installed package Workerd observes low effort, then high effort on a later turn after reopening the Durable Object. Existing receipt and alarm checks remain in place.
  • Checkfu Workerd reproduced the missing upstream effort and captured the saved low value from the candidate.

@andyrewlee
andyrewlee merged commit 650fe70 into main Dec 5, 2026
2 checks passed
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