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

fix: set max tokens to 512 for nextjs examples

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