Skip to content

Commit 8389e20

Browse files
author
patched.codes[bot]
committed
Patched patchwork/common/client/llm/protocol.py
1 parent 8437864 commit 8389e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patchwork/common/client/llm/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def chat_completion(
138138
max_tokens: Optional[int] | NotGiven = NOT_GIVEN,
139139
n: Optional[int] | NotGiven = NOT_GIVEN,
140140
presence_penalty: Optional[float] | NotGiven = NOT_GIVEN,
141-
response_format: str | completion_create_params.ResponseFormat | NotGiven = NOT_GIVEN,
141+
response_format: dict | completion_create_params.ResponseFormat | NotGiven = NOT_GIVEN,
142142
stop: Union[Optional[str], List[str]] | NotGiven = NOT_GIVEN,
143143
temperature: Optional[float] | NotGiven = NOT_GIVEN,
144144
tools: Iterable[ChatCompletionToolParam] | NotGiven = NOT_GIVEN,

0 commit comments

Comments
 (0)