Skip to content
Snippets Groups Projects
Commit 0e01723a authored by Marcus Schiesser's avatar Marcus Schiesser
Browse files

fix: set max tokens to 512 for nextjs examples

parent be0661f1
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ export async function POST(request: NextRequest) { ...@@ -44,7 +44,7 @@ export async function POST(request: NextRequest) {
const llm = new OpenAI({ const llm = new OpenAI({
model: MODEL, model: MODEL,
maxTokens: 2048, maxTokens: 512,
}); });
const chatEngine = await createChatEngine(llm); const chatEngine = await createChatEngine(llm);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment