Revert "chore: update the tool's doc" (#6153)
This commit is contained in:
parent
215661ef91
commit
cc8dc6d35e
5 changed files with 21 additions and 53 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue