fix: support xhigh reasoning effort in usage records for Claude Messages API

Closes #1732
This commit is contained in:
erio
2026-04-19 18:05:25 +08:00
parent 51af8df31d
commit 6530776a62
3 changed files with 11 additions and 3 deletions

View File

@@ -962,7 +962,7 @@ func NormalizeClaudeOutputEffort(raw string) *string {
return nil
}
switch value {
case "low", "medium", "high", "max":
case "low", "medium", "high", "xhigh", "max":
return &value
default:
return nil