Revert "chore: update the tool's doc" (#6153)

This commit is contained in:
crazywoola 2024-07-10 19:57:12 +08:00 • committed by GitHub
commit cc8dc6d35e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 21 additions and 53 deletions

View file

@ -142,8 +142,7 @@ class ToolParameter(BaseModel):
name: str = Field(..., description="The name of the parameter")
label: I18nObject = Field(..., description="The label presented to the user")
human_description: I18nObject = Field(None, description="The description presented to the user")
placeholder: I18nObject = Field(None, description="The placeholder presented to the user")
human_description: I18nObject = Field(..., description="The description presented to the user")
type: ToolParameterType = Field(..., description="The type of the parameter")
form: ToolParameterForm = Field(..., description="The form of the parameter, schema/form/llm")
llm_description: Optional[str] = None