Yeuoly 1 年之前
父節點
當前提交
e1db77eec2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/core/agent/entities.py

+ 1 - 1
api/core/agent/entities.py

@@ -76,5 +76,5 @@ class AgentEntity(BaseModel):
     model: str
     strategy: Strategy
     prompt: Optional[AgentPromptEntity] = None
-    tools: list[AgentToolEntity] = None
+    tools: Optional[list[AgentToolEntity]] = None
     max_iteration: int = 5