mirror of
https://github.com/wahyd4/SAI2.git
synced 2026-08-08 21:01:21 +10:00
limit the max_tokens for related_question
This commit is contained in:
+1
-1
@@ -599,7 +599,7 @@ async def get_related_questions(_app, query, contexts):
|
||||
response = await client.beta.tools.messages.create(
|
||||
model=_app.ctx.model,
|
||||
system=_more_questions_prompt,
|
||||
max_tokens=4096,
|
||||
max_tokens=1000,
|
||||
tools=tools,
|
||||
messages=[
|
||||
{"role": "user", "content": query},
|
||||
|
||||
Reference in New Issue
Block a user