From db8c55d218c4952aa010cb1a4c5be623a1e4efe1 Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期三, 23 十月 2024 20:56:37 +0800
Subject: [PATCH] 修改返回内容
---
app/config/config.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/app/config/config.py b/app/config/config.py
index 8044029..e3d254f 100644
--- a/app/config/config.py
+++ b/app/config/config.py
@@ -1,4 +1,3 @@
-import os
from pathlib import Path
import yaml
@@ -6,11 +5,14 @@
class Settings:
secret_key: str = ''
bisheng_base_url: str = ''
+ bisheng_websocket_url: str = ''
ragflow_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