From 055bd1b863b180285e650006dcb78f096e6065bd Mon Sep 17 00:00:00 2001 From: LzSkyline Date: Fri, 7 Feb 2025 20:14:48 +0800 Subject: [PATCH] init. --- main.py | 2 +- requirements.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index a8b8a73..4079ab2 100644 --- a/main.py +++ b/main.py @@ -91,7 +91,7 @@ class DifyModelManager: model_manager = DifyModelManager() # 从环境变量获取API基础URL -DIFY_API_BASE = os.getenv("DIFY_API_BASE", "https://mify-be.pt.xiaomi.com/api/v1") +DIFY_API_BASE = os.getenv("DIFY_API_BASE", "") app = Flask(__name__) diff --git a/requirements.txt b/requirements.txt index c5c715e..519c081 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ flask httpx -python-dotenv -logging \ No newline at end of file +python-dotenv \ No newline at end of file