We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7e7fde commit a81da67Copy full SHA for a81da67
src/agents/tool.py
@@ -189,7 +189,7 @@ def function_tool(
189
failure_error_function: If provided, use this function to generate an error message when
190
the tool call fails. The error message is sent to the LLM. If you pass None, then no
191
error message will be sent and instead an Exception will be raised.
192
- strict_mode: If False, allows optional parameters in the function schema.
+ strict_mode: If False, parameters with default values become optional in the function schema.
193
"""
194
195
def _create_function_tool(the_func: ToolFunction[...]) -> FunctionTool:
0 commit comments