zhaoqingang
2024-11-15 deaaf771005065d9951a6df4df3e8baade2acca2
app/config/config.py
@@ -4,15 +4,18 @@
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 = ''
    sgb_db_url: str = ''
    fwr_db_url: str = ''
    fetch_sgb_agent: str = ''
    fetch_fwr_agent: str = ''
    PUBLIC_KEY: str
    PRIVATE_KEY: str
    bisheng_agent_id: str
    ragflow_agent_id: str
    ragflow_chat_id: str
    HASH_SUB_KEY: str
    def __init__(self, **kwargs):
        # Check if all required fields are provided and set them
        for field in self.__annotations__.keys():