mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-30 08:22:34 +00:00
fix: support xhigh reasoning effort in usage records for Claude Messages API
Closes #1732
This commit is contained in:
@@ -193,7 +193,9 @@ export function formatReasoningEffort(effort: string | null | undefined): string
|
||||
return 'High'
|
||||
case 'xhigh':
|
||||
case 'extrahigh':
|
||||
return 'Xhigh'
|
||||
return 'XHigh'
|
||||
case 'max':
|
||||
return 'Max'
|
||||
case 'none':
|
||||
case 'minimal':
|
||||
return '-'
|
||||
|
||||
Reference in New Issue
Block a user