@wasmagent/model-qwen
v1.0.3
Published
Qwen (Alibaba DashScope) model adapter for wasmagent
Downloads
214
Maintainers
Readme
/model-qwen
Qwen3 (Alibaba DashScope) adapter — enable_thinking + thinking_budget, intl region routing.
Part of wasmagent — a TypeScript + WASM agent runtime.
▽ Maintenance-mode. This adapter is functional and security-patched, but is not receiving proactive feature work — it is dominated by
GenericOpenAICompatModel+ a recipe indocs/guides/openai-compat-recipes.md. See maintenance tiers for the rationale. If you actively use this package and want it promoted to ◆ Narrative, open an issue taggedtier:promote-requestwith your use case.
Install
npm install /model-qwen /coreUsage
import { QwenModel, QwenModels } from "/model-qwen";
const model = new QwenModel(QwenModels.QWEN3_MAX, {
apiKey: process.env.DASHSCOPE_API_KEY,
region: "intl", // or "cn"
enable_thinking: true,
thinking_budget: 10000,
});⚠️ Compliance — Review Alibaba Cloud DashScope terms for cross-border data transfer rules.
License
Apache-2.0 — © wasmagent contributors
