zhangqian
2024-10-12 f41ca9e5dc78baa5a50c32ed05c05876266c6dd4
app/config/config.py
@@ -1,4 +1,3 @@
import os
from pathlib import Path
import yaml
@@ -6,10 +5,12 @@
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
    def __init__(self, **kwargs):
        # Check if all required fields are provided and set them