We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19244e1 commit d11f27eCopy full SHA for d11f27e
tests/adapters/test_tool.py
@@ -559,7 +559,10 @@ def get_weather(city: str) -> str:
559
def add_numbers(a: int, b: int) -> int:
560
return a + b
561
562
- tools = [dspy.Tool(get_weather), dspy.Tool(add_numbers)]
+ tools = [
563
+ dspy.Tool(get_weather),
564
+ dspy.Tool(add_numbers)
565
+ ]
566
567
tool_call = dspy.ToolCalls.ToolCall(name="get_weather", args={"city": "Berlin"})
568
result = tool_call.execute(functions=tools)
0 commit comments