app/config/config.py
@@ -1,16 +1,15 @@ 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 = '' 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():