Skip to content

Commit f5c5548

Browse files
committed
update
1 parent 47fe2b3 commit f5c5548

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

patchwork/common/client/llm/aio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self, *clients: LlmClient):
3636
except Exception:
3737
pass
3838

39-
def __get_model(self, model_settings: ModelSettings | None) -> None:
39+
def __get_model(self, model_settings: ModelSettings | None) -> Optional[str]:
4040
if model_settings is None:
4141
raise ValueError("Model settings cannot be None")
4242
model_name = model_settings.get("model")

patchwork/common/client/llm/anthropic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ChatCompletionToolParam,
1616
completion_create_params,
1717
)
18-
from openai.types.chat.chat_completion import Choice, CompletionUsage
18+
from openai.types.chat.chat_completion import Choice
1919
from openai.types.chat.chat_completion_message_tool_call import (
2020
ChatCompletionMessageToolCall,
2121
Function,

patchwork/common/client/sonar.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from collections import defaultdict
24
from dataclasses import dataclass
35

0 commit comments

Comments
 (0)