This is how I try to import useChat
import { useChat, AgentProvider } from '@inngest/use-agent';
I get this error
Module '"@inngest/use-agent"' has no exported member 'useChat'.
Inngest and inngest agentkit should be fully up to date:
npm update @inngest/agent-kit
up to date, audited 1380 packages in 5s
❯ npm list inngest
...
├─┬ @inngest/agent-kit@0.13.2
│ └── inngest@3.54.2 deduped
├─┬ @inngest/use-agent@0.4.0
│ └─┬ @inngest/realtime@0.4.6
│ └── inngest@3.54.2 deduped
└── inngest@3.54.2
useAgent works. I can see where that gets exported from in the code as well. If I look at that same file though, I can't see where useChat would be exported
Expected behavior: On at least the GitHub, I should be able to see where this function gets declared and exported. That does not seem to be the case, but perhaps I'm looking in the wrong spot.
This is how I try to import
useChatI get this error
Inngest and inngest agentkit should be fully up to date:
useAgentworks. I can see where that gets exported from in the code as well. If I look at that same file though, I can't see whereuseChatwould be exportedExpected behavior: On at least the GitHub, I should be able to see where this function gets declared and exported. That does not seem to be the case, but perhaps I'm looking in the wrong spot.