← 返回
未分类 Key 中文

Aliyun Qwen Coder

Use when code generation, repository understanding, or coding-agent tasks need Alibaba Cloud Model Studio Qwen Coder models (`qwen3-coder-next`, `qwen3-coder...
用于代码生成、仓库理解或需要使用阿里云模型工作室 Qwen Coder 模型(如 qwen3-coder-next、qwen3-coder...)的编码代理任务
cinience cinience 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 291
下载
💾 0
安装
1
版本
#latest

概述

Category: provider

Model Studio Qwen Coder

Validation

mkdir -p output/aliyun-qwen-coder
python -m py_compile skills/ai/code/aliyun-qwen-coder/scripts/prepare_code_request.py && echo "py_compile_ok" > output/aliyun-qwen-coder/validate.txt

Pass criteria: command exits 0 and output/aliyun-qwen-coder/validate.txt is generated.

Output And Evidence

  • Save prompts, repository context summaries, and normalized coding request payloads under output/aliyun-qwen-coder/.
  • Record the exact model, endpoint mode, and target language/framework for reproducibility.

Use Qwen Coder for coding assistants, code review drafting, repository-level reasoning, patch planning, and tool-using software agents.

Critical model names

Use one of these exact model strings as appropriate:

  • qwen3-coder-next
  • qwen3-coder-plus
  • qwen-coder-plus
  • qwen2.5-coder-32b-instruct

Prerequisites

  • Install SDK in a virtual environment:
python3 -m venv .venv
. .venv/bin/activate
python -m pip install dashscope
  • Set DASHSCOPE_API_KEY in your environment, or add dashscope_api_key to ~/.alibabacloud/credentials.
  • Prefer the OpenAI-compatible endpoint when a client does not yet expose the latest coder models in dropdown UI.

Normalized interface (code.generate)

Request

  • messages (array, required)
  • model (string, optional): default qwen3-coder-next
  • repository_summary (string, optional)
  • files (array, optional)
  • language (string, optional)
  • tools (array, optional)
  • stream (bool, optional)
  • Response

    • text (string)
    • patch (string, optional)
    • usage (object, optional)

    Quick start

    python skills/ai/code/aliyun-qwen-coder/scripts/prepare_code_request.py \
      --task "Refactor request validation into a small helper and add one unit test." \
      --language python
    

    Operational guidance

    • Pass only the files relevant to the requested change to reduce noise.
    • Use qwen3-coder-next for current-generation coding tasks and qwen3-coder-plus when you need a stronger but potentially costlier coder.
    • For repo-scale changes, include architecture notes and expected test commands.
    • Prefer deterministic prompts and pinned model IDs for benchmarking or regression comparison.

    Output location

    • Default output: output/aliyun-qwen-coder/requests/
    • Override base dir with OUTPUT_DIR.

    References

    • references/sources.md

    版本历史

    共 1 个版本

    • v1.0.0 当前
      2026-05-07 17:17 安全 安全

    安全检测

    腾讯云安全 (Keen)

    安全,无风险
    查看报告

    腾讯云安全 (Sanbu)

    安全,无风险
    查看报告

    🔗 相关推荐

    dev-programming

    YouTube

    byungkyu
    使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
    ★ 142 📥 42,184
    dev-programming

    Mcporter

    steipete
    使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
    ★ 198 📥 68,331
    dev-programming

    Github

    steipete
    使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
    ★ 687 📥 331,504