(id: string, input: Partial<UserMessage> = {})
| 22 | } |
| 23 | |
| 24 | const userMessage = (id: string, input: Partial<UserMessage> = {}): UserMessage => ({ |
| 25 | id, |
| 26 | sessionID: "child", |
| 27 | role: "user", |
| 28 | time: { created: 1 }, |
| 29 | agent: "build", |
| 30 | model: { providerID: "provider", modelID: "model" }, |
| 31 | ...input, |
| 32 | }) |
| 33 | |
| 34 | const textPart = (messageID: string, input: Partial<TextPart> = {}): TextPart => ({ |
| 35 | id: "part", |
no outgoing calls
no test coverage detected