Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
remove redundant field
Browse files Browse the repository at this point in the history
  • Loading branch information
acatav committed Mar 6, 2024
1 parent fa82c84 commit e63ce26
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/canopy/llm/cohere.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def chat_completion(self,
message=messages.pop()['message'],
chat_history=messages,
documents=self.generate_documents_from_context(context),
preamble_override=None,
stream=stream,
connectors=[
{"id": connector} for connector in connectors
Expand Down
1 change: 0 additions & 1 deletion tests/system/llm/test_cohere.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def expected_chat_kwargs(system_prompt):
],
"connectors": None,
"documents": [],
"preamble_override": None,
"stream": False,
"max_tokens": None,
}
Expand Down

0 comments on commit e63ce26

Please sign in to comment.