fix(channels): classify Qwen TTS models correctly (#6711)

This commit is contained in:
Seefs
2026-08-08 14:31:29 +08:00
committed by GitHub
parent 2399de97da
commit 823e26304a
@@ -38,7 +38,6 @@ const MODEL_CATEGORY_RULES: readonly ModelCategoryRule[] = [
'codex-',
'dall-e-',
'whisper-',
'tts-',
'omni-moderation-',
'text-moderation-',
'text-embedding-ada-',
@@ -51,7 +50,7 @@ const MODEL_CATEGORY_RULES: readonly ModelCategoryRule[] = [
'computer-use-preview',
'sora',
],
pattern: /(?:^|[/.:])o(?:1|3|4)(?=$|[-.:])/,
pattern: /(?:^|[/.:])(?:o(?:1|3|4)(?=$|[-.:])|tts-)/,
},
{ name: 'Anthropic', keywords: ['anthropic', 'claude'] },
{