fix: default tool_use status to completed in transcript decompose
This commit is contained in:
parent
bd968b8266
commit
c5a3142dfe
|
|
@ -120,9 +120,11 @@ function contentToParts(
|
|||
callID: (b.id as string) ?? '',
|
||||
tool: normalizeToolName((b.name as string) ?? ''),
|
||||
state: {
|
||||
status: 'running',
|
||||
status: 'completed',
|
||||
input: (b.input as Record<string, unknown>) ?? {},
|
||||
time: { start: Date.now() },
|
||||
output: '',
|
||||
title: (b.name as string) ?? '',
|
||||
time: { start: Date.now(), end: Date.now() },
|
||||
},
|
||||
})
|
||||
break
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user