-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Update chutes.ts to add Qwen3 235B A22B Thinking 2507 model #7578
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
Conversation
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.
Thank you for your contribution! I've reviewed the changes and found several critical issues that need to be addressed before this can be merged.
|
Important: This PR claims to close issue #4225, but that issue is about "AI-Powered Commit Message Generation" which is completely unrelated to adding a model configuration. Please update the PR description to either:
This needs to be corrected to maintain proper issue tracking. |
…ChutesModelId union type declared at the top of the file
| | "zai-org/GLM-4.5-Air" | ||
| | "zai-org/GLM-4.5-FP8" | ||
| | "moonshotai/Kimi-K2-Instruct-75k" | ||
| "Qwen/Qwen3-235B-A22B-Thinking-2507" |
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.
I think it's already there, above
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.
Yes, I added it a few minutes ago
mohammad154
left a comment
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.
I'm fix all errors !
daniel-lxs
left a comment
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.
Thank you @mohammad154 for your contribution!
Related GitHub Issue
Closes: #7295
Roo Code Task Context (Optional)
Description
This PR adds support for the
Qwen/Qwen3-235B-A22B-Thinking-2507model by defining its properties in the Chutes provider configuration.The implementation involves adding a new entry to the model map in
packages/types/src/providers/chutes.ts. This entry includes the model'smaxTokens,contextWindow, pricing information (inputPrice,outputPrice), and other relevant metadata. This allows the model to be recognized and utilized throughout the Roo Code application.Test Procedure
Manual testing was performed to verify the changes:
No new automated tests were added as this change is purely a configuration update.
Pre-Submission Checklist
Screenshots / Videos
N/A. This is a code-only change with no direct UI impact other than the new model name appearing in a list.
Documentation Updates
Yes, the official documentation listing supported models should be updated to include
Qwen/Qwen3-235B-A22B-Thinking-2507.Additional Notes
None.
Get in Touch
Discord username:
mohammaddanaee
Important
Add
Qwen/Qwen3-235B-A22B-Thinking-2507model configuration tochutes.tswith specific properties and pricing.Qwen/Qwen3-235B-A22B-Thinking-2507tochutesModelsinchutes.ts.maxTokensto 32768 andcontextWindowto 262144.inputPriceas 0.077968332 andoutputPriceas 0.31202496.This description was created by
for c121ecf. You can customize this summary. It will automatically update as commits are pushed.