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