@qwen-code/qwen-code 0.0.1-alpha.8 → 0.0.1-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -3
- package/bundle/gemini.js +631 -687
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
Qwen Code is a command-line AI workflow tool adapted from [**Gemini CLI**](https://github.com/google-gemini/gemini-cli)(Please refer to [this document](./README.gemini.md) for more details), optimized for [Qwen3-Coder](https://github.com/QwenLM/Qwen3-Coder) models with enhanced parser support & tool support.
|
|
5
|
+
Qwen Code is a command-line AI workflow tool adapted from [**Gemini CLI**](https://github.com/google-gemini/gemini-cli) (Please refer to [this document](./README.gemini.md) for more details), optimized for [Qwen3-Coder](https://github.com/QwenLM/Qwen3-Coder) models with enhanced parser support & tool support.
|
|
6
|
+
|
|
7
|
+
> [!WARNING]
|
|
8
|
+
> Qwen Code may issue multiple API calls per cycle, resulting in higher token usage, similar to Claude Code. We’re actively working to enhance API efficiency and improve the overall developer experience.
|
|
6
9
|
|
|
7
10
|
## Key Features
|
|
8
11
|
|
|
@@ -44,9 +47,17 @@ npm install -g .
|
|
|
44
47
|
|
|
45
48
|
### API Configuration
|
|
46
49
|
|
|
47
|
-
Set your Qwen API key (In Qwen Code project, you can also set your API key in `.env` file)
|
|
50
|
+
Set your Qwen API key (In Qwen Code project, you can also set your API key in `.env` file). the `.env` file should be placed in the root directory of your current project.
|
|
51
|
+
|
|
52
|
+
> ⚠️ **Notice:** <br>
|
|
53
|
+
> **If you are in mainland China, please go to https://bailian.console.aliyun.com/ to apply for your API key** <br>
|
|
54
|
+
> **If you are not in mainland China, please go to https://modelstudio.console.alibabacloud.com/ to apply for your API key**
|
|
48
55
|
|
|
49
56
|
```bash
|
|
57
|
+
# If you are in mainland China, use the following URL:
|
|
58
|
+
# https://dashscope.aliyuncs.com/compatible-mode/v1
|
|
59
|
+
# If you are not in mainland China, use the following URL:
|
|
60
|
+
# https://dashscope-intl.aliyuncs.com/compatible-mode/v1
|
|
50
61
|
export OPENAI_API_KEY="your_api_key_here"
|
|
51
62
|
export OPENAI_BASE_URL="your_api_base_url_here"
|
|
52
63
|
export OPENAI_MODEL="your_api_model_here"
|
|
@@ -109,7 +120,7 @@ qwen
|
|
|
109
120
|
### Terminal-Bench
|
|
110
121
|
|
|
111
122
|
| Agent | Model | Accuracy |
|
|
112
|
-
|
|
123
|
+
| --------- | ------------------ | -------- |
|
|
113
124
|
| Qwen Code | Qwen3-Coder-480A35 | 37.5 |
|
|
114
125
|
|
|
115
126
|
## Project Structure
|