We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8437864 commit 8389e20Copy full SHA for 8389e20
patchwork/common/client/llm/protocol.py
@@ -138,7 +138,7 @@ def chat_completion(
138
max_tokens: Optional[int] | NotGiven = NOT_GIVEN,
139
n: Optional[int] | NotGiven = NOT_GIVEN,
140
presence_penalty: Optional[float] | NotGiven = NOT_GIVEN,
141
- response_format: str | completion_create_params.ResponseFormat | NotGiven = NOT_GIVEN,
+ response_format: dict | completion_create_params.ResponseFormat | NotGiven = NOT_GIVEN,
142
stop: Union[Optional[str], List[str]] | NotGiven = NOT_GIVEN,
143
temperature: Optional[float] | NotGiven = NOT_GIVEN,
144
tools: Iterable[ChatCompletionToolParam] | NotGiven = NOT_GIVEN,
0 commit comments