Skip to content

Feature: Add qwen3 support - #1128

Open
RobbyRed98 wants to merge 5 commits into
aws-samples:v3from
RobbyRed98:feature/add-qwen3-support
Open

Feature: Add qwen3 support#1128
RobbyRed98 wants to merge 5 commits into
aws-samples:v3from
RobbyRed98:feature/add-qwen3-support

Conversation

@RobbyRed98

@RobbyRed98 RobbyRed98 commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds support for three Qwen3 models across backend, frontend, i18n, and documentation:

  • Qwen3 235B A22B (qwen.qwen3-235b-a22b-2507-v1:0)
  • Qwen3 Coder 30B A3B (qwen.qwen3-coder-30b-a3b-v1:0)
  • Qwen3 32B (qwen.qwen3-32b-v1:0)

Changes

Backend (backend/app/)

  • bedrock.py: Add is_qwen_model() helper and _prepare_qwen_model_params() with standard inferenceConfig (temperature, topP, maxTokens). Register all 3 model IDs in BASE_MODEL_IDS. Add Qwen to is_multiple_system_prompt_content_supported. Wire up the converse configuration route. Note: stopSequences explicitly omitted — Qwen models don't support it.
  • config.py: Add DEFAULT_QWEN_GENERATION_CONFIG (max_tokens: 4096, top_p: 0.8, temperature: 0.7). Add pricing entries for all 3 models in all 3 region groups (standard, us, eu/au).
  • conversation.py: Add all 3 model keys to type_model_name Literal.

Frontend (frontend/src/)

  • constants/index.ts: Add all 3 to AVAILABLE_MODEL_KEYS.
  • hooks/useModel.ts: Add model config entries with supportReasoning: true.
  • i18n/*/index.ts: Add labels and descriptions for all 3 models in all 7 locales (en, es, id, ja, ms, pl, pt-br, th, vi).

Other

  • README.md: Add Qwen3 models section to the supported model list.

References

@RobbyRed98 RobbyRed98 changed the title Feature/add qwen3 support Feature: Add qwen3 support Jul 18, 2026
* Added the model as follows: text-only, opt-in reasoning and tool use.
* Updated README.md
* Added model description to en, es and ja translations.
* Added the model as follows: text-only, opt-in reasoning and tool use.
* Updated README.md
* Added model description to en, es, id, ja, ms, pl, pt-br, th and vi translations.
* Added the model as follows: text-only, opt-in reasoning and tool use.
* Updated README.md
* Added model description to en, es, id, ja, ms, pl, pt-br, th and vi translations.
@RobbyRed98
RobbyRed98 force-pushed the feature/add-qwen3-support branch from 42f42b8 to f960ac2 Compare July 21, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant