Skip to content

The Azure OpenAI API does not support stream_options. #67

@ipevo-Kevin

Description

@ipevo-Kevin

SwiftOpenAI works fine in version 3.0. However, starting with version 3.1, startStreamedChat returns the following error: Error: responseUnsuccessful(description: "status code 400 Unknown parameter: 'stream_options'.").

The data returned from the Azure OpenAI Server is as follows:
{
"error": {
"message": "Unknown parameter: 'stream_options'.",
"type": "invalid_request_error",
"param": "stream_options",
"code": "unknown_parameter"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions