Skip to content

Commit

Permalink
📝 docs: update ChatGPT demo url
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours authored Feb 4, 2024
1 parent 36c47d5 commit 06e69b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/chatgpt-nextjs/src/app/chatgpt/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function Home() {
width: '100vw',
}}
request={async (messages) => {
const response = await fetch('/api/qwen', {
const response = await fetch('/api/openai', {
method: 'POST',
body: JSON.stringify({ messages: messages }),
});
Expand Down

0 comments on commit 06e69b2

Please sign in to comment.