LibreChat icon indicating copy to clipboard operation
LibreChat copied to clipboard

[Bug]: Azure OpenAI Assistants Downloads error

Open kezzzsVS opened this issue 8 months ago • 2 comments

What happened?

Attempting to download generated files from Azure OpenAI Assistants results in a 500 Internal Server Error. I can confirm that the generated file is available to download correctly from the Azure OpenAI Studio.

Steps to Reproduce

  1. Setup an assistant with Code Interpreter enabled
  2. Use assistant and ask to generate a text file containing a random paragraph
  3. The file will be generated
  4. Click the download link with Chrome Dev Tools open, and check the network tab to observe the 500 Internal server error

What browsers are you seeing the problem on?

No response

Relevant log output

/app/api/logs $ cat error-2024-06-27.log 
{"level":"error","message":"Error downloading file: Assistants API key not provided. Please provide it again.","stack":"Error: Assistants API key not provided. Please provide it again.\n    at initializeClient (/app/api/server/services/Endpoints/assistants/initializeClient.js:54:11)\n    at /app/api/server/routes/files/files.js:116:32\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"}
/app/api/logs $

Screenshots

image

image

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

kezzzsVS avatar Jun 27 '24 15:06 kezzzsVS