danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
19.16k stars 3.19k forks source link

[Bug]: A "400 error" from DALL-E 3 in the assistant's endpoint is not handled #4508

Closed cjccjj closed 3 weeks ago

cjccjj commented 3 weeks ago

What happened?

A "400 error" from DALL-E 3 in the assistant's endpoint is not handled. It works well in gptplugin and agents, that an error message is shown to user.

Steps to Reproduce

  1. create an assistant and add Dalle-e
  2. ask to draw a woman wearing bikini (something that the text AI is will to help but Dalle refuses)
  3. text AI says here is the image but an image is not generated
  4. Dalle 400 error in log

What browsers are you seeing the problem on?

No response

Relevant log output

2024-10-22 18:52:40 error: [DALL-E-3] Problem generating the image: 400 This request has been blocked by our content filters.

Screenshots

image

image

Code of Conduct