Skip to content

Qwen (DashScope) Settings

OpenAICompatible setup

python
from agently import Agently

Agently.set_settings("OpenAICompatible", {
  "base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
  "api_key": "YOUR_DASHSCOPE_API_KEY",
  "model": "qwen-turbo"
})