Skip to content

Send xhigh effort on Claude text calls too, so Nuntia's copy of the client gets it - #246

Merged
danielchalmers merged 1 commit into
mainfrom
c/claude-text-effort
Nov 16, 2026
Merged

danielchalmers merged 1 commit into
mainfrom
c/claude-text-effort

Conversation

@danielchalmers

Copy link
Copy Markdown
Owner

Why

danielchalmers/Nuntia copies src/llm/ verbatim and only makes plain text calls.
After the Messages API change, those calls still sent no effort, so Claude would have kept running at its default (medium on Haiku 5.5) there.

What

  • A Claude text call now sends output_config.effort: "xhigh", the same effort a JSON call gets.
  • A model that rejects effort has it left off for the rest of the run, as on JSON calls.
  • AutoTriage makes no text calls, so its own behaviour doesn't change.

Verification

  • npm run typecheck, npm run typecheck:test and npm test pass (349 tests), and dist/ is rebuilt.
  • The text-call test now covers the effort being sent and being dropped after a rejection.

Residual risk

  • No live text call has been made at xhigh. The JSON path with the same field was exercised by this repo's dry run.

…lient gets it

Text calls sent no effort, which left Claude at its default there.
AutoTriage makes no text calls, so its own behaviour doesn't change.
@github-actions github-actions Bot added the enhancement New feature or request label Nov 16, 2026
@danielchalmers
danielchalmers merged commit 9531af4 into main Nov 16, 2026
5 checks passed
@danielchalmers
danielchalmers deleted the c/claude-text-effort branch November 16, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant