From 55372c4432d645d1ead672f0364a06722c49164c Mon Sep 17 00:00:00 2001 From: Dunjie Lu <127488745+ludunjie1219@users.noreply.github.com> Date: Tue, 14 Oct 2025 12:57:00 +0800 Subject: [PATCH] Fix API base URLs for OpenAI and DashScope Updated the base URLs for OpenAI and DashScope API calls. --- mm_agents/qwen3vl_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm_agents/qwen3vl_agent.py b/mm_agents/qwen3vl_agent.py index e0ee85f..86483b3 100644 --- a/mm_agents/qwen3vl_agent.py +++ b/mm_agents/qwen3vl_agent.py @@ -628,7 +628,7 @@ Previous actions: def _call_llm_openai(self, messages, model): """Call LLM using OpenAI SDK (compatible with OpenAI-compatible endpoints).""" - base_url = "https://poc-dashscope.aliyuncs.com/compatible-mode/v1" + base_url = "https://dashscope.aliyuncs.com/compatible-mode/v1" api_key = "sk-123" client = openai.OpenAI(base_url=base_url, api_key=api_key) @@ -653,7 +653,7 @@ Previous actions: def _call_llm_dashscope(self, messages, model): """Call LLM using DashScope SDK.""" - dashscope.base_http_api_url = "https://poc-dashscope.aliyuncs.com/api/v1" + dashscope.base_http_api_url = "https://dashscope.aliyuncs.com/api/v1" dashscope.api_key = "sk-123" # Convert message schema