소스 검색

fix: pass template as named argument (#233)

cachho 2 년 전
부모
커밋
d0c42f5c2a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      embedchain/config/ChatConfig.py

+ 1 - 1
embedchain/config/ChatConfig.py

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