zhangxiao
2024-10-23 db8c55d218c4952aa010cb1a4c5be623a1e4efe1
app/config/config.py
@@ -1,4 +1,3 @@
import os
from pathlib import Path
import yaml
@@ -12,7 +11,8 @@
    PUBLIC_KEY: str
    PRIVATE_KEY: str
    bisheng_agent_id: str
    ragflow_agent_id: str
    ragflow_chat_id: str
    def __init__(self, **kwargs):
        # Check if all required fields are provided and set them
        for field in self.__annotations__.keys():