vercel / vercel/acp-handler

Some problem with chat in NextJS basic example

Open
#9 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
29
Forks
5
Avg merge
6m
Merged PRs (30d)
1

Description

Looks like there's some version conflict in @ai-sdk/react library. The chat window doesn't send a chat message when clicked send.
I think the issue can be in useChat hook,, which is probably updated on https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-chat#status

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in examples/basic/app/page.tsx around the useChat hook and compare its usage with the current AI SDK UI documentation, especially the status API. Reproduce the failure by opening the basic example and clicking Send; done means the chat message is sent successfully without the reported version conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.