Closed xezpeleta closed 3 weeks ago
Hi!
After upgrading llm to 0.17.1, I get the following errors using OpenAI models:
llm
$ llm -m gpt-4o-mini hi Error: Completions.create() got an unexpected keyword argument 'stream_options'
The error disappear when I use the option --no-stream:
--no-stream
$ llm -m gpt-4o-mini hi --no-stream Hello! How can I assist you today?
Upgrade OpenAI to the latest version:
pip install -U openai
Hi!
After upgrading
llm
to 0.17.1, I get the following errors using OpenAI models:The error disappear when I use the option
--no-stream
:Solution
Upgrade OpenAI to the latest version: