Repository navigation
Run HED on Claude Haiku 4.5 - #592
Merged
Merged
Conversation
HED's annotation questions are a tag, validate and correct loop. On dev, 2 of 3 Luna requests failed (a dropped stream and a stall past the read timeout, each on the model call after a tool result), GPT-OSS hit the recursion limit, and Haiku answered all 3 in 12 to 24 s. Luna stays the default of NWB, EEGLAB and BIDS. The three tests that took HED to be a Luna community now pick one from the registry, or name HED's new slug. Tested: the full suite except the 19 known chat-resume 401s passes.
…591) Docs and comments only.
Contributor
Preview Deployment
This preview will be updated automatically when you push new commits. |
…el (issue #591) test_the_fallback_model_is_the_offered_one still used HED, whose default is now Haiku, so no fallback happened and it would have stayed green without one. The selectors in the three registry-driven tests now normalize the default, and the notes test asserts the default has a note to follow. Tested: the three test files, 209 pass.
…e Dockerfile (issue #591) An operator reading them would think a missing Bedrock key degrades HED, which runs Haiku either way. Also adds HED to ADR 0015's list of communities whose default is Haiku.
…(issue #591) Luna answered 1 of 3 and GPT-OSS 1 of 2 on dev, which is not that Luna cannot finish the loop; Haiku's price is nine times Luna's per token, not per request; the estimates are before caching; HED's alert-only budget is unchanged. Comments and docs only.
11 tasks
6 of 7 tasks
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.
Closes #591.
HED's annotation questions are a tag, validate and correct loop, and GPT-6 Luna answered 1 of 3 of them on dev.
This sets HED's
default_modeltoclaude-haiku-4-5.Why
Dev, 2026-10-07 04:45 to 04:58 UTC, one tester sending HED annotation questions to each model in turn (details and the table are in #591):
GraphRecursionErrorafter 11 tool calls.validate_hed_stringcalls.The same finding came from a manual test, in #514: with the HED assistant's second sample question and a follow-up about a memory task, Luna, GPT-OSS and Qwen all failed and only the Anthropic models finished.
What changes
src/assistants/hed/config.yaml:default_model: claude-haiku-4-5;reasoning_effortstayshigh, which is a 4,096-token thinking budget on Haiku (ADR 0015)..env.example,deploy/Dockerfileand two comments that listed HED among the Luna communities.Cost
About nine times Luna's price per token ($1 / $5 per million tokens against $0.11 / $0.55): an estimated $0.05 to $0.11 for each of the three dev requests above, before caching.
HED's budget ($5 a day, $50 a month, 80% alert) only alerts and is unchanged, so it will alert at about a ninth of the traffic.
Not in this pull request
A message that suggests which model to try when a request fails or runs out of steps, and a way to extend the step or time budget, as asked in #514; and retrying a single model call that returns nothing after a tool result.
Testing
The whole suite except
test_chat_resume_endpoint.py(19 of its 21 tests fail with 401 identically on a clean develop here) passes after the test changes; before them, three failed on the new default.A Sonnet review (code, tests, claims) found the vacuous fourth test, the stale operator text in
.env.exampleanddeploy/Dockerfile, ADR 0015's list, weaker selectors and over-strong wording of the evidence; all are fixed in this pull request.