help with convex/agents

I'm unable to fix the error I have for my agents
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;
}


I'm trying to stream responses from my agent and the ts compilation just keeps failing, does someone have ideas? I'm following the guide here https://docs.convex.dev/agents/agent-usage
Was this page helpful?