From 88ae2fcd43de3138d2923f16bb59d2580b687579 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 30 十月 2024 01:56:21 +0800
Subject: [PATCH] 程序启动时初始化agent表并从ragflow和毕昇拉取智能体id然后更新agent表

---
 app/config/config.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/app/config/config.py b/app/config/config.py
index 87c05a3..2d7bdf2 100644
--- a/app/config/config.py
+++ b/app/config/config.py
@@ -8,8 +8,13 @@
     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
+
     def __init__(self, **kwargs):
         # Check if all required fields are provided and set them
         for field in self.__annotations__.keys():

--
Gitblit v1.8.0