increase default context size

This commit is contained in:
Hayden Johnson 2025-04-08 13:06:20 -07:00
parent 01e6a3ef75
commit 70c129a448

View file

@ -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
) )