increase default context size
This commit is contained in:
parent
01e6a3ef75
commit
70c129a448
|
|
@ -148,7 +148,7 @@ def chat(message, stream=True):
|
|||
history.append({"role": "user", "content": message})
|
||||
completion = client.chat(
|
||||
model=model,
|
||||
options={"temperature":temp},
|
||||
options={"temperature":temp, "num_ctx":4096},
|
||||
messages=history,
|
||||
stream=stream
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue