Skip to content

Commit

Permalink
perf: Fine-tune max tokens for lower latency conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Feb 12, 2024
1 parent dc65da6 commit 30ff579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ async def _error_response() -> Tuple[CallModel, ActionModel]:
tool_calls = {}
try:
async for delta in completion_stream(
max_tokens=400,
max_tokens=350,
messages=messages,
tools=tools,
):
Expand Down

0 comments on commit 30ff579

Please sign in to comment.