mirror of
https://github.com/Quorinex/Kiro-Go.git
synced 2026-04-25 07:15:50 +03:00
[PR #18] [MERGED] feat: add Claude Sonnet 4.6 and Opus 4.6 model support #13
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Kiro-Go#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Quorinex/Kiro-Go/pull/18
Author: @edxeth
Created: 2/20/2026
Status: ✅ Merged
Merged: 2/21/2026
Merged by: @Quorinex
Base:
main← Head:feat/add-claude-4.6-models📝 Commits (1)
e3b99abfeat: add Claude Sonnet 4.6 and Opus 4.6 to model list and mapping📊 Changes
2 files changed (+73 additions, -67 deletions)
View changed files
📝
proxy/handler.go(+53 -49)📝
proxy/translator.go(+20 -18)📄 Description
Summary
claude-sonnet-4.6(dot and dash variants) tomodelMapintranslator.go— was previously missing whileclaude-opus-4.6was already presentclaude-sonnet-4.6andclaude-opus-4.6(plus their-thinkingvariants) to the static fallback model list inhandler.go, used when the dynamic Kiro API cache is not populatedContext
These models are available on Kiro Power (enterprise) subscriptions but were absent from the proxy's hardcoded fallback list and model mapping, causing them to not appear in
/v1/modelsand not route correctly.Testing
go buildpasses cleanly/v1/modelsreturns all new model entries including thinking variantsclaude-sonnet-4.6,claude-sonnet-4-6, andclaude-sonnet-4.6-thinkingcorrectlyNote
The existing
ParseModelAndThinkingfunction usesstrings.Containswith Go map iteration (nondeterministic order), which means overlapping keys likeclaude-sonnet-4andclaude-sonnet-4.6could theoretically mis-route. This is a pre-existing issue not introduced by this PR and is left for a separate fix.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.