Closed apayu closed 1 year ago
Thanks for reporting, let me look into this. It looks like the client is appending the stream parameter when it shouldn't:
iex(8)> ExOpenAI.FineTunes.list_fine_tune_events "ft-AF1WoRqd3aJAHsqc9NY7iL8F"
"/fine-tunes/ft-AF1WoRqd3aJAHsqc9NY7iL8F/events?stream="
{:error,
%{
"error" => %{
"code" => nil,
"message" => "Wrong type, expected 'boolean' for query parameter 'stream'",
"param" => nil,
"type" => "invalid_request_error"
}
}}
Fixed in https://github.com/dvcrn/ex_openai/commit/4023cadc641f4c62b7b95b762d653357bacb6755. Please give 1.2.1 a go
When I run this function
I got this error message
and I added option like this and it's work