[model] add Qwen-AgentWorld-35B-A3B support#10615
Merged
Merged
Conversation
Register Qwen-AgentWorld-35B-A3B (with ModelScope mirror) as a Thinking variant under the qwen3 chat template. Qwen-AgentWorld is a native language world model based on Qwen3.5-35B-A3B (MoE). Reference: https://github.com/QwenLM/Qwen-AgentWorld
Contributor
There was a problem hiding this comment.
Code Review
This pull request registers the new model group "Qwen-AgentWorld-35B-A3B-Thinking" in constants.py. Feedback recommends moving this registration to its correct alphabetical position (before Qwen2) and updating the template from "qwen3" to "qwen3_5" to ensure compatibility with Qwen3.5-specific features.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
hiyouga
approved these changes
Jun 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Add built-in support for Qwen-AgentWorld-35B-A3B, a native language world model released by the Qwen team, based on Qwen3.5-35B-A3B (MoE, 35B total / 3B active, 256K context).
Qwen-AgentWorld-35B-A3B-Thinkinginsrc/llamafactory/extras/constants.py, with both Hugging Face (Qwen/Qwen-AgentWorld-35B-A3B) and ModelScope (Qwen/Qwen-AgentWorld-35B-A3B) download sources.qwen3chat template — the model shares the standard Qwen3 chat format and its inference uses--reasoning-parser qwen3, so no new template is required.-Thinkingsuffix is used so theregister_model_grouphelper automatically populatesDEFAULT_TEMPLATE.Reference:
Fixes #10614
Before submitting
qwen3template; verified locally withruff check / formatand a runtime registry smoke check.)