Repository navigation
test(models): Haiku 5.5 reads as Haiku 5.5 and takes effort levels - #218
Merged
Merged
Conversation
The haiku alias points to claude-haiku-5-5 from Claude Code 2.1.293 on, with the five effort levels and a 1M window. The app already reads levels and window from what Claude Code reports, so no code changes; this pins it with tests and fixes the spec (the window was said to be 200k for Haiku).
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.
What
Haiku 5.5 (
claude-haiku-5-5) works in Botloft already, and this pins it with tests and fixes the spec.Botloft sends Claude Code's own alias (
--model haiku), which Claude Code points at Haiku 5.5 from version 2.1.293 on (before that, at Haiku 4.5). The app reads the model id, the effort levels and the context window from what Claude Code reports, so nothing in the code changes.modelName("claude-haiku-5-5")reads "Haiku 5.5" (test).Checked
pnpm viteston the two test files, biome andtscpass.model-config, 2026-10-07).Manual step
Not tried with a real Haiku 5.5 yet: it needs Claude Code >= 2.1.293 (the machine here has 2.1.287). With it, a bot on Haiku should report
claude-haiku-5-5insystem/initand the five effort levels. The spec says "not seen with the real Claude Code" until then.