mirror of
https://github.com/wahyd4/SAI2.git
synced 2026-08-08 21:01:21 +10:00
limit the max_tokens for related_questions
This commit is contained in:
+1
-1
@@ -657,7 +657,7 @@ async def get_related_questions(_app, query, contexts):
|
||||
request_body = {
|
||||
"model": _app.ctx.model,
|
||||
"messages": messages,
|
||||
"max_tokens": 4096,
|
||||
"max_tokens": 1000,
|
||||
"tools": tools,
|
||||
"tool_choice": {
|
||||
"type": "function",
|
||||
|
||||
Reference in New Issue
Block a user