Using Open AI ResponsesClient and HostedFileContent produces corrupted files error #4645
Unanswered
KornelijusS
asked this question in
Q&A
Replies: 1 comment
-
|
Figured out that FileClient.UploadAsync is broken as uploading directly through rest api does work |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As title states, when you add a file through HostedFileContent and pass it to ai as a message, the ai always responds with corruped file. The file is pdf tried with multiple files all of them produce the same answer. The files are uploaded through AIProjectClient.OpenAI.Files.UploadFileAsync. You can see the file inside microsoft foundry files, but using it through Agent Framework makes it corrupted for some reason.
Beta Was this translation helpful? Give feedback.
All reactions