Skip to content

Commit

Permalink
Change runtime config in docs (#990)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding authored Feb 21, 2024
1 parent 141f0ce commit 8ee511e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/docs/guides/frameworks/nextjs-pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ You can use the client `useChat` and `useCompletion` hooks the same between the
import { useChat } from 'ai/react';

// Optional but recommended: use the Edge Runtime. This can only be done at the page level, not inside nested components.
export const runtime = 'experimental-edge';
export const runtime = 'edge';

export default function IndexPage() {
const { messages, handleSubmit, input, handleInputChange } = useChat();
Expand Down

0 comments on commit 8ee511e

Please sign in to comment.