Skip to content

Commit 48b21fb

Browse files
authored
Fix anthropic (#1134)
1 parent eb727f4 commit 48b21fb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

patchwork/common/client/llm/anthropic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def __get_model_limit(self, model: str) -> int:
8484
return 200_000 - safety_margin
8585

8686
def __adapt_input_messages(self, messages: Iterable[ChatCompletionMessageParam]) -> list[MessageParam]:
87+
system = NOT_GIVEN
8788
new_messages = []
8889
for message in messages:
8990
if message.get("role") == "system":

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "patchwork-cli"
3-
version = "0.0.84"
3+
version = "0.0.85"
44
description = ""
55
authors = ["patched.codes"]
66
license = "AGPL"

0 commit comments

Comments
 (0)