mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-20 15:33:54 +00:00
fix(desktop): add respondToApproval to clarify tool-part test mock
@assistant-ui/react 0.14 makes respondToApproval required on ToolCallMessagePartProps; the settledClarifyProps helper still lacked it after the upgrade cherry-picks, so tsc failed on clarify-tool.test.tsx.
This commit is contained in:
parent
abd7458e77
commit
6fc24651f7
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ function settledClarifyProps(
|
|||
args,
|
||||
argsText: JSON.stringify(args),
|
||||
isError: false,
|
||||
respondToApproval: vi.fn(),
|
||||
result,
|
||||
resume: vi.fn(),
|
||||
status: { type: 'complete' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue