feat(models): support claude-fable-5

This commit is contained in:
zhayujie
2026-06-10 09:39:37 +08:00
parent 354350dec9
commit f5caba81d6
14 changed files with 77 additions and 69 deletions

View File

@@ -223,7 +223,7 @@ class ClaudeAPIBot(Bot, OpenAIImage):
return 8192
elif model and model.startswith("claude-3") and "opus" in model:
return 4096
elif model and (model.startswith("claude-sonnet-4") or model.startswith("claude-opus-4")):
elif model and (model.startswith("claude-sonnet-4") or model.startswith("claude-opus-4") or model.startswith("claude-fable")):
return 64000
return 8192