Skip to content

Commit 268358b

Browse files
Add OpenAI request timeout (#858)
* Adds the timeout kwarg for the OpenAI LLM * Don't overwrite the client level timeout * Update version --------- Co-authored-by: Agus <[email protected]> Co-authored-by: plaguss <[email protected]>
1 parent 1b43450 commit 268358b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/distilabel/llms/openai.py

-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ async def agenerate( # type: ignore
247247
"temperature": temperature,
248248
"top_p": top_p,
249249
"stop": stop,
250-
"timeout": 50,
251250
}
252251

253252
if response_format is not None:

0 commit comments

Comments
 (0)