docs: Fix description (#22611)

This commit fixes the description of the hair_color field.
pull/22619/head
andyjessen 4 months ago committed by GitHub
parent 1925bde32e
commit cfed68e06f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -128,7 +128,7 @@
" # Having a good description can help improve extraction results.\n",
" name: Optional[str] = Field(..., description=\"The name of the person\")\n",
" hair_color: Optional[str] = Field(\n",
" ..., description=\"The color of the person's eyes if known\"\n",
" ..., description=\"The color of the person's hair if known\"\n",
" )\n",
" height_in_meters: Optional[str] = Field(..., description=\"Height in METERs\")\n",
"\n",

@ -386,7 +386,7 @@ def tool_example_to_messages(
'''Information about a person.'''
name: Optional[str] = Field(..., description="The name of the person")
hair_color: Optional[str] = Field(
..., description="The color of the person's eyes if known"
..., description="The color of the person's hair if known"
)
height_in_meters: Optional[str] = Field(
..., description="Height in METERs"

Loading…
Cancel
Save