(id: string, messageID: string, name: string, source?: AgentPart["source"])
| 82 | } |
| 83 | |
| 84 | function agentPart(id: string, messageID: string, name: string, source?: AgentPart["source"]): AgentPart { |
| 85 | return { |
| 86 | id, |
| 87 | sessionID: "session-1", |
| 88 | messageID, |
| 89 | type: "agent", |
| 90 | name, |
| 91 | source, |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | function filePart(id: string, messageID: string, url: string, input: Partial<FilePart> = {}): FilePart { |
| 96 | return { |
no outgoing calls
no test coverage detected