chore: Update maxTokens to 800 for chat API

This commit is contained in:
zaidmukaddam 2024-08-15 18:53:43 +05:30
parent 636708fb36
commit 8941291d90

View File

@ -17,7 +17,7 @@ export async function POST(req: Request) {
model: ansmodel,
messages: convertToCoreMessages(messages),
temperature: 0,
maxTokens: 500,
maxTokens: 800,
system:
"You are an AI web search engine that helps users find information on the internet.\n" +
"Always start with running the tool(s) and then and then only write your response AT ALL COSTS!!\n" +