-
Notifications
You must be signed in to change notification settings - Fork 86
fix(translate): add qwen/qwen3.8-max output-token cap (32768) #974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1201,6 +1201,10 @@ var modelMaxOutputTokens = map[string]int{ | |
| // Keyed by full catalog ID, since decision.Model keeps the vendor prefix. | ||
| // Other OSS rows are still absent and so inherit the 8192 fallback. | ||
| "moonshotai/kimi-k3": 131072, | ||
| // Qwen3-Max family serves 32k output on Fireworks (qwen3p8-max). Without | ||
| // this entry a Claude Code max_tokens=64000 turn was clamped to the 8192 | ||
| // fallback and truncated every agentic turn (finish_reason=length loop). | ||
| "qwen/qwen3.8-max": 32768, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wrong Qwen output-token ceilingMedium Severity The new Additional Locations (1)Reviewed by Cursor Bugbot for commit 8ff3f7d. Configure here. |
||
| } | ||
|
|
||
| const defaultMaxOutputTokenCap = 8192 | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was 5 lines narrating the full incident; the essential WHY fits in two.