| 2 | import { ModelMessage } from 'ai'; |
| 3 | |
| 4 | export default interface CustomMessage<T> { |
| 5 | toMsg(): Promise<ModelMessage[]>; |
| 6 | |
| 7 | msgType: MsgType; |
| 8 | |
| 9 | copy(): T; |
| 10 | |
| 11 | getTopic(): Topic; |
| 12 | |
| 13 | getTaskIds(): number[]; |
| 14 | } |
| 15 | |
| 16 | export type MsgType = |
| 17 | | 'human-topic' |
no outgoing calls
no test coverage detected