There was an error while loading. Please reload this page.
1 parent 6777451 commit 4344854Copy full SHA for 4344854
1 file changed
app/api/schemas/openai.py
@@ -140,7 +140,7 @@ class ChatCompletionRequest(BaseModel):
140
stream: bool | None = False
141
stream_options: object | None = None
142
temperature: float | None = 1.0
143
- tool_choice: str | None = None
+ tool_choice: str | dict[Any, Any] | None = None
144
tools: list[Any] | None = None
145
top_logprobs: int | None = None
146
top_p: float | None = 1.0
0 commit comments