From 53471a68e429a8062d0a878c6b170517347eee0e Mon Sep 17 00:00:00 2001
From: xuyonghao <898441624@qq.com>
Date: 星期四, 07 十一月 2024 15:43:51 +0800
Subject: [PATCH] fix reference为对象
---
app/config/config.py | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/app/config/config.py b/app/config/config.py
index 10c3cb8..2d7bdf2 100644
--- a/app/config/config.py
+++ b/app/config/config.py
@@ -4,13 +4,16 @@
class Settings:
secret_key: str = ''
- bisheng_base_url: str = ''
- bisheng_websocket_url: str = ''
- ragflow_base_url: str = ''
+ sgb_base_url: str = ''
+ sgb_websocket_url: str = ''
+ fwr_base_url: str = ''
database_url: str = ''
+ sgb_db_url: str = ''
+ fwr_db_url: str = ''
+ fetch_sgb_agent: str = ''
+ fetch_fwr_agent: str = ''
PUBLIC_KEY: str
PRIVATE_KEY: str
- bisheng_agent_id: str
def __init__(self, **kwargs):
# Check if all required fields are provided and set them
--
Gitblit v1.8.0