fix: 修正深度智能体上下文配置的模块名称引用
- 在 `graph.py` 中,将上下文配置的模块名称从 `self.name` 更新为 `self.module_name`,确保正确加载上下文信息。
This commit is contained in:
parent
31cc6aa8a5
commit
0e92aaa99a
@ -194,7 +194,7 @@ class DeepAgent(BaseAgent):
|
||||
return self.graph
|
||||
|
||||
# 获取上下文配置
|
||||
context = self.context_schema.from_file(module_name=self.name)
|
||||
context = self.context_schema.from_file(module_name=self.module_name)
|
||||
|
||||
# 使用 create_deep_agent 创建深度智能体
|
||||
graph = create_deep_agent(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user