Skip to content

feat: next chat template with auth switcher (echo credits & x402 payment) - #662

Open
sachigoyal wants to merge 11 commits into
Merit-Systems:masterfrom
sachigoyal:sachi/chat-x402
Open

feat: next chat template with auth switcher (echo credits & x402 payment)#662
sachigoyal wants to merge 11 commits into
Merit-Systems:masterfrom
sachigoyal:sachi/chat-x402

Conversation

@sachigoyal

@sachigoyal sachigoyal commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

Next chat template with auth switcher feature like in https://github.com/Merit-Systems/sora-template

deployed: https://chat-x402.vercel.app

tackles #610

@vercel

vercel Bot commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

@sachigoyal is attempting to deploy a commit to the Merit Systems Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread templates/next-chat-x402/src/app/page.tsx

Copy link
Copy Markdown
Contributor

It looks like streaming is not working on x402 (i just checked the hosted version) correct me if im missing something

Comment thread templates/next-chat-x402/src/app/_components/chat.tsx
Comment thread templates/next-chat-x402/src/app/api/chat/route.ts Outdated
Comment thread templates/next-chat-x402/src/components/auth-modal.tsx
Comment thread templates/next-chat-x402/src/app/_components/echo/balance.tsx
Comment thread templates/next-chat-x402/src/components/echo-account.tsx
@sachigoyal

Copy link
Copy Markdown
Contributor Author

@zdql @rsproule you can take another look

improved the chat interface & used the merit-system/aix402 sdk

test out here: https://chat-x402.vercel.app/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants