fix: type check

This commit is contained in:
07akioni
2026-07-24 13:36:27 +08:00
parent 3babb2cd42
commit a4b4a4c53d
2 changed files with 23 additions and 3 deletions
@@ -31,8 +31,9 @@ beforeEach(() => {
})
const toolResult = (seq: number, callId: string, name: string, args = '{"command":"make build","description":"Build"}'): ToolResultNode => ({
kind: 'tool-result', seq, callId,
kind: 'tool-result', seq, time: seq * 1_000, callId,
call: { name, argsRaw: args },
callTime: seq * 1_000 - 500,
content: [], isError: false, callView: null, resultView: null,
})