(
messageID: string,
sessionID: string,
callID: string,
toolName: string,
output: string,
)
| 72 | } |
| 73 | |
| 74 | function toolPart( |
| 75 | messageID: string, |
| 76 | sessionID: string, |
| 77 | callID: string, |
| 78 | toolName: string, |
| 79 | output: string, |
| 80 | ) { |
| 81 | return { |
| 82 | id: `${callID}-part`, |
| 83 | messageID, |
| 84 | sessionID, |
| 85 | type: "tool" as const, |
| 86 | tool: toolName, |
| 87 | callID, |
| 88 | state: { |
| 89 | status: "completed" as const, |
| 90 | input: { description: "demo" }, |
| 91 | output, |
| 92 | }, |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | function buildMessage( |
| 97 | id: string, |
no outgoing calls
no test coverage detected