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

View File

@@ -162,7 +162,7 @@
"\n",
"@tool\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",
") -> int:\n",
" \"\"\"Multiply a by the maximum of b.\"\"\"\n",