From 27eb8cfeb7828114f3a9978642eefac3eb0d736a Mon Sep 17 00:00:00 2001 From: goulustis Date: Tue, 27 Jan 2026 15:55:02 +0800 Subject: [PATCH] update test to use api key --- fastapi_server/test_dashscope_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastapi_server/test_dashscope_client.py b/fastapi_server/test_dashscope_client.py index 92c8228..778bcb7 100644 --- a/fastapi_server/test_dashscope_client.py +++ b/fastapi_server/test_dashscope_client.py @@ -30,7 +30,7 @@ except Exception as e: BASE_URL = os.getenv("DS_BASE_URL", "http://127.0.0.1:8588/api/") # Params -API_KEY = "salkjhglakshfs" #os.getenv("ALI_API_KEY", "test-key") +API_KEY = os.getenv("FAST_AUTH_KEYS", "test-key") APP_ID = os.getenv("ALI_APP_ID", "test-app") SESSION_ID = str(uuid.uuid4()) @@ -40,7 +40,7 @@ dialogue = [ ] call_params = { - "api_key": "test_key", + "api_key": API_KEY, "app_id": "test_app", "session_id": "123", "messages": dialogue,