From 98c6c8c1f764f537c146be3bff39c5f71076d554 Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期四, 05 十二月 2024 14:17:57 +0800 Subject: [PATCH] 获取llm列表 --- app/config/config.py | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/app/config/config.py b/app/config/config.py index 8044029..179a680 100644 --- a/app/config/config.py +++ b/app/config/config.py @@ -1,16 +1,27 @@ -import os from pathlib import Path import yaml class Settings: secret_key: str = '' - bisheng_base_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 - + PASSWORD_KEY: str + basic_base_url: str = '' + basic_paper_url: str = '' + dify_base_url: str = '' + dify_api_token: str = '' + dify_workflow_clean: str = '' + dify_workflow_report: str = '' + postgresql_database_url: 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