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
@Felix2711 thank you for the submission, I was able to reproduce this quite easily.
@joseharriaga the repro for this is using the overload that takes in the path. What is missing is that we don't do something like Path.GetFileName(filePath) before making the OpenAI REST API call and we just give the whole path as the filename.
Service
OpenAI
Describe the bug
When using OpenAIFileClient.UploadFile/Async directly with a filepath. The Uploaded File will have the complete Path as a name
Steps to reproduce
Code snippets
No response
OS
winOS
.NET version
net8.0
Library version
2.0.0
The text was updated successfully, but these errors were encountered: