wenbopan commited on
Commit
6c4a187
β€’
1 Parent(s): b33ef6b

Change length limit to 8k

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def streaming(message, history, system_msg, model):
66
  completion = client.chat.completions.create(
67
  model=model,
68
  messages=messages,
69
- max_completion_tokens=100000,
70
  temperature=0.0,
71
  stream=True,
72
  )
 
66
  completion = client.chat.completions.create(
67
  model=model,
68
  messages=messages,
69
+ max_completion_tokens=8000,
70
  temperature=0.0,
71
  stream=True,
72
  )