fix: pass template as named argument (#233)

This commit is contained in:
cachho
2023-07-11 16:44:03 +02:00
committed by GitHub
parent 4d6daf5465
commit d0c42f5c2a

View File

@@ -57,7 +57,7 @@ class ChatConfig(QueryConfig):
# there don't have to be two templates. Having two templates would make it # there don't have to be two templates. Having two templates would make it
# complicated because the history is not user controlled. # complicated because the history is not user controlled.
super().__init__( super().__init__(
template, template=template,
model=model, model=model,
temperature=temperature, temperature=temperature,
max_tokens=max_tokens, max_tokens=max_tokens,