🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
docs(cookbooks): Fix Unused Custom Tool in Tools Cookbook (issue-1573) (#1574)
Lei Zhang04c40dcf1825
diff --git a/docs/cookbooks/advanced_features/agents_with_tools.ipynb b/docs/cookbooks/advanced_features/agents_with_tools.ipynbindex 24dd301b9..13d76ccdb 100644--- a/docs/cookbooks/advanced_features/agents_with_tools.ipynb+++ b/docs/cookbooks/advanced_features/agents_with_tools.ipynb@@ -94,7 +94,7 @@"from camel.configs import ChatGPTConfig\n","from camel.toolkits import (\n"," SearchToolkit,\n",- " MathToolkit,\n",+ " # MathToolkit,\n"," # GoogleMapsToolkit,\n"," # TwitterToolkit,\n"," # WeatherToolkit,\n",@@ -152,7 +152,7 @@"id": "bJ1J9e4mWkBZ"},"source": [- "Now you have done that, let’s customize a tool by taking the simple math calculator, functions add and sub, as an example. When you define your own function, make sure the argument name and docstring are clear so that the agent can understand what this function can do and when to use the function based on the function information you provide."+ "Now you have done that, let’s customize a tool by taking the simple math calculator, functions add and sub, as an example. When you define your own function, make sure the argument name and docstring are clear so that the agent can understand what this function can do and when to use the function based on the function information you provide. \n> This is just to demonstrate the use of custom tools, the built-in MathToolkit already includes tools for add and sub."]},{@@ -232,8 +232,9 @@"outputs": [],"source": ["tools_list = [\n",- " *MathToolkit().get_tools(),\n",+ " # *MathToolkit().get_tools(),\n"," *SearchToolkit().get_tools(),\n",+ " *MATH_FUNCS,\n","]"]},@@ -602,4 +603,4 @@},"nbformat": 4,"nbformat_minor": 0-}+}\ No newline at end of file