Argument of type '{ promptMessageId: string; }' is not assignable to parameter of type 'AgentPrompt & Omit<never, "model" | "messages" | "prompt"> & { tools?: undefined; }'.
Type '{ promptMessageId: string; }' is not assignable to type 'Omit<never, "model" | "messages" | "prompt">'.
Property 'promptMessageId' is incompatible with index signature.
Type 'string' is not assignable to type 'never'.ts(2345)
โ+click to open in new tab
const prompt: {
promptMessageId: string;
}
Argument of type '{ promptMessageId: string; }' is not assignable to parameter of type 'AgentPrompt & Omit<never, "model" | "messages" | "prompt"> & { tools?: undefined; }'.
Type '{ promptMessageId: string; }' is not assignable to type 'Omit<never, "model" | "messages" | "prompt">'.
Property 'promptMessageId' is incompatible with index signature.
Type 'string' is not assignable to type 'never'.ts(2345)
โ+click to open in new tab
const prompt: {
promptMessageId: string;
}