After upgrading Discourse AI plugin to the latest version, GPT models with Azure AI stopped working, logs showed that:
DiscourseAi::Completions::Endpoints::OpenAi: status: 400 - body: {
"error": {
"message": "Unknown parameter: 'stream_options'.",
"type": "invalid_request_error",
"param": "stream_options",
"code": "unknown_parameter"
}
}
The latest Azure AI api definition could be found on GitHub. And stream_options hasn’t been there yet.