1. 修复论坛通信问题,基于日志块增加容错
2. 使用ERROR层级来避免json解析错误导致的连环问题
This commit is contained in:
@@ -779,5 +779,5 @@ def create_agent(config_file: Optional[str] = None) -> DeepSearchAgent:
|
||||
Returns:
|
||||
DeepSearchAgent实例
|
||||
"""
|
||||
config = settings
|
||||
config = Settings() # 以空配置初始化,而从从环境变量初始化
|
||||
return DeepSearchAgent(config)
|
||||
|
||||
Reference in New Issue
Block a user