mirror of
https://github.com/langgenius/dify.git
synced 2026-03-04 07:16:20 +08:00
feat: mypy for all type check (#10921)
This commit is contained in:
@ -78,5 +78,5 @@ class AgentEntity(BaseModel):
|
||||
model: str
|
||||
strategy: Strategy
|
||||
prompt: Optional[AgentPromptEntity] = None
|
||||
tools: list[AgentToolEntity] = None
|
||||
tools: list[AgentToolEntity] | None = None
|
||||
max_iteration: int = 5
|
||||
|
||||
Reference in New Issue
Block a user