From a1b7795af6095cd821a3bc279ec2fcc9a03b3b98 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 29 十月 2024 21:30:22 +0800 Subject: [PATCH] 代码优化 --- app/config/config.py | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/app/config/config.py b/app/config/config.py index e3d254f..87c05a3 100644 --- a/app/config/config.py +++ b/app/config/config.py @@ -4,15 +4,12 @@ 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 = '' PUBLIC_KEY: str PRIVATE_KEY: str - bisheng_agent_id: str - ragflow_agent_id: str - ragflow_chat_id: str def __init__(self, **kwargs): # Check if all required fields are provided and set them for field in self.__annotations__.keys(): -- Gitblit v1.8.0