Repository navigation
Call Claude through its Messages API at xhigh effort, so it gets more time to draft the notes - #81
Merged
Merged
Conversation
… time to draft the notes Copies src/llm/ and tests/llm/ from danielchalmers/AutoTriage at 9531af48a8bdf0c11690ca2e7df1602de26427f1. Claude's Chat Completions layer ignores reasoning_effort, so requests to api.anthropic.com now go to /v1/messages with output_config.effort set to xhigh.
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.
Why
Claude's Chat Completions layer ignores
reasoning_effort, so Claude has been drafting release notes at its default effort.AutoTriage moved its Claude calls to the Messages API to set effort there, and Nuntia shares that client.
What
src/llm/andtests/llm/are copied verbatim from danielchalmers/AutoTriage at9531af48a8bdf0c11690ca2e7df1602de26427f1(AutoTriage pull requests 245 and 246).api.anthropic.comnow go to/v1/messages, withx-api-keyandanthropic-version: 2026-10-21. Every other host still gets Chat Completions.output_config.effort: "xhigh"on Claude. On the defaultclaude-sonnet-5-5that is one step up from its default ofhigh, and onclaude-haiku-5-5two steps up frommedium.max_tokensis 64,000 on Claude, and a model that rejectsefforthas it left off for the rest of the run.AGENTS.mddescribes the client's two protocols.Verification
npm run typecheck,npm run typecheck:testandnpm testpass (322 tests), anddist/is rebuilt.src/llm/andtests/llm/match AutoTriage at the commit above.mockjob on this pull request is the first live text call through the Messages API.Residual risk
xhighhaven't been compared with notes drafted before. They will take longer and cost more per release.effortis a guess, so on such a model the call may fail instead of retrying without it.