You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rethink and redesign the CompletionsOption and ChatCompletionsOption classes.
Since we have separate method for both of streaming and non-streaming completions and chat completions methods, we should separate the optional classes into ChatCompletionsOption and a new ChatCompletiondsStreamOption, as well as CompletionsOption and a new CompletionsStreamOption.
For example,
ChatCompletionsStreamOption should have stream=true by default and include all parameters related only to streaming.
ChatCompletionsOption should not include parameters related only to streaming.
The text was updated successfully, but these errors were encountered:
Rethink and redesign the
CompletionsOption
andChatCompletionsOption
classes.Since we have separate method for both of streaming and non-streaming completions and chat completions methods, we should separate the optional classes into
ChatCompletionsOption
and a newChatCompletiondsStreamOption
, as well asCompletionsOption
and a newCompletionsStreamOption
.For example,
ChatCompletionsStreamOption
should havestream=true
by default and include all parameters related only to streaming.ChatCompletionsOption
should not include parameters related only to streaming.The text was updated successfully, but these errors were encountered: