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