Skip to content

Commit dea4343

Browse files
authored
docs: updated incorrect datatype for custom tool notebook (#31498)
- **Description:** `"string"` is given as the `"type"` for a custom tool argument, even though it is an `integer`. This can be validated from the Colab notebook output. - **Issue:** N/A - **Dependencies:** N/A - **Twitter handle:** [mrityu___](https://x.com/mrityu___) Current: ![image](https://github.com/user-attachments/assets/403c04c5-ba35-4845-a8ce-9e9c584a57b8) After Change: ![image](https://github.com/user-attachments/assets/c0af90c4-2039-4b92-9be3-7b77d08bae3d) Colab Output: ![image](https://github.com/user-attachments/assets/9495c574-21bf-475d-8ede-a14cb2576ffa)
1 parent 43bee46 commit dea4343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/how_to/custom_tools.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
"{'description': 'Multiply a by the maximum of b.',\n",
142142
" 'properties': {'a': {'description': 'scale factor',\n",
143143
" 'title': 'A',\n",
144-
" 'type': 'string'},\n",
144+
" 'type': 'integer'},\n",
145145
" 'b': {'description': 'list of ints over which to take maximum',\n",
146146
" 'items': {'type': 'integer'},\n",
147147
" 'title': 'B',\n",

0 commit comments

Comments
 (0)