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})
|
history.append({"role": "user", "content": message})
|
||||||
completion = client.chat(
|
completion = client.chat(
|
||||||
model=model,
|
model=model,
|
||||||
options={"temperature":temp},
|
options={"temperature":temp, "num_ctx":4096},
|
||||||
messages=history,
|
messages=history,
|
||||||
stream=stream
|
stream=stream
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue