Open shivanandpatil512 opened 6 months ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.
Do we have any ETA on this?
same issue here, any solution?
I'm having the exact same issue, is there any update on when Azure will fix this?
I had the same issue after updating nugets.
🛠️Downgrading to the following nuget versions is a workaround for the time being🛠️
Azure.AI.OpenAI 1.0.0-beta.16
Azure.AI.OpenAI.Assistants 1.0.0-beta.3
Here's the request that is working fine with 1.0.0-beta.16 and 1.0.0-beta.3:
And this is after updating to 1.0.0-beta.17 and 1.0.0-beta.4:
...which is failing with:
{
"error": {
"message": "Additional properties are not allowed ('filename' was unexpected)",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
Same here, downgrading helped for the moment.
Library name and version
Azure.AI.OpenAI.Assistants 1.0.0-beta.4
Describe the bug
We have a .Net Core API and we have installed Azure.AI.OpenAI.Assistants 1.0.0-beta.4 nuget package. We are trying to upload a file through .Net Core API using the AssistantsClient.UploadFileAsync it is failing with weird error. Below is the code we tried with
But,
await _assistantsClient.UploadFileAsync(filePath, OpenAIFilePurpose.Assistants);
fails with below errorBut same code works fine if we try it in windows form application.
Expected behavior
File should get uploaded to Assistant.
Actual behavior
We get this error
Reproduction Steps
In any .Net Core API application try the code mentioned in the description.
Environment
No response