ai - qwen agent 的安装和使用 - wsl 环境下 ubuntu24

访问量: 46

refer to:
https://github.com/QwenLM/Qwen-Agent?tab=readme-ov-file

1. 安装 ,提前设置好梯子

git clone https://github.com/QwenLM/Qwen-Agent.git
cd Qwen-Agent
pip install -e ./"[gui,rag,code_interpreter,mcp]"

2. 使用:https://help.aliyun.com/zh/model-studio/use-qwen-by-calling-api

dashscope:  https://dashscope.aliyun.com/  已经迁移到了百炼:
https://www.aliyun.com/product/bailian

申请api

使用SDK调用时需配置的base_url:https://dashscope.aliyuncs.com/compatible-mode/v1

百炼控制台(我草居然要翻墙才能打开,国内直连就是白屏)

https://bailian.console.aliyun.com/#/home

右上角,选择 api key.

我草,国内居然打不开!!!!你敢信!!!

无法申请api,

搁置。

订阅/RSS Feed

Subscribe