(id: string, messageID: string, text: string, input: Partial<TextPart> = {})
| 71 | } |
| 72 | |
| 73 | function textPart(id: string, messageID: string, text: string, input: Partial<TextPart> = {}): TextPart { |
| 74 | return { |
| 75 | id, |
| 76 | sessionID: "session-1", |
| 77 | messageID, |
| 78 | type: "text", |
| 79 | text, |
| 80 | synthetic: input.synthetic, |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | function agentPart(id: string, messageID: string, name: string, source?: AgentPart["source"]): AgentPart { |
| 85 | return { |
no outgoing calls
no test coverage detected