Skip to content

Commit 0f3dc76

Browse files
committed
Remove unnecessary toolset function
1 parent 4144fa4 commit 0f3dc76

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/test_agent.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3743,9 +3743,6 @@ def respond(messages: list[ModelMessage], info: AgentInfo) -> ModelResponse:
37433743
async def test_toolset_decorator():
37443744
toolset = FunctionToolset()
37453745

3746-
@toolset.tool
3747-
def foo() -> str: ...
3748-
37493746
agent: Agent[None, str] = Agent('test')
37503747

37513748
@agent.toolset

0 commit comments

Comments
 (0)