docs: Updated incorrected type used for the multiply_by_max function (#28042)

In the `multiply_by_max()` tool, `a` is a scale factor but it is
annotated with a string type.
This commit is contained in:
WEIQ-beepbeep 2024-12-06 01:15:59 +08:00 committed by GitHub
parent b8e861a63b
commit 1e285cb5f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,7 +162,7 @@
"\n", "\n",
"@tool\n", "@tool\n",
"def multiply_by_max(\n", "def multiply_by_max(\n",
" a: Annotated[str, \"scale factor\"],\n", " a: Annotated[int, \"scale factor\"],\n",
" b: Annotated[List[int], \"list of ints over which to take maximum\"],\n", " b: Annotated[List[int], \"list of ints over which to take maximum\"],\n",
") -> int:\n", ") -> int:\n",
" \"\"\"Multiply a by the maximum of b.\"\"\"\n", " \"\"\"Multiply a by the maximum of b.\"\"\"\n",