Loading...
The code returns the following error:
Azure OpenAI API Error: {
"error": {
"message": "Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.",
"type": "invalid_request_error",
"param": "max_tokens",
"code": "unsupported_parameter"
}
}
at Module.POST (/app/api/analyze/route)
at async handleAnalyze (/app/page)
Revise the code to address the error.
I was previewing: /
Loading...
The code returns the following error:
Azure OpenAI API Error: {
"error": {
"message": "Unsupported value: 'temperature' does not support 0.7 with this model. Only the default (1) value is supported.",
"type": "invalid_request_error",
"param": "temperature",
"code": "unsupported_value"
}
}
at Module.POST (/app/api/analyze/route)
at async handleAnalyze (/app/page)
Revise the code to address the error.
I was previewing: /