mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-09 08:21:50 +00:00
test: update _invoke_tool dispatch assertion for new toolset-scope kwargs
The scoping fix added enabled_toolsets/disabled_toolsets to the agent_runtime_helpers sequential dispatch into handle_function_call, so test_invoke_tool_dispatches_to_handle_function_call's assert_called_once_with (exact match) needs the two new kwargs. Both are None for the default agent fixture.
This commit is contained in:
parent
1709776120
commit
18c9e89106
1 changed files with 2 additions and 0 deletions
|
|
@ -2428,6 +2428,8 @@ class TestConcurrentToolExecution:
|
|||
session_id=agent.session_id,
|
||||
enabled_tools=list(agent.valid_tool_names),
|
||||
skip_pre_tool_call_hook=True,
|
||||
enabled_toolsets=agent.enabled_toolsets,
|
||||
disabled_toolsets=agent.disabled_toolsets,
|
||||
)
|
||||
assert result == "result"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue