docs: Fix description (#22611)

This commit fixes the description of the hair_color field.
This commit is contained in:
andyjessen
2024-06-06 08:25:27 -06:00
committed by GitHub
parent 1925bde32e
commit cfed68e06f
2 changed files with 2 additions and 2 deletions

View File

@@ -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"