mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-20 15:38:19 -04:00
Issue: Error Code 422 When Sending Chat Messages Containing Images in Azure OpenAI Pipeline #57
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Wenlin88 on GitHub (Jun 20, 2024).
When using the Azure OpenAI pipeline, attempting to send a chat message that contains an image results in a 422 Un processable Entity error. This issue occurs most probably because the current OpenAIChatMessage schema does not support image inputs, leading to validation failures.
Open WebUI Version
v0.3.5
Pipelines
commit
df2124e@justinh-rahb commented on GitHub (Jun 20, 2024):
Vision can be disabled per model in Workspace > Models:
@Wenlin88 commented on GitHub (Jun 20, 2024):
My current understanding is that it is not coming from this, but more from the fact that image content is in dictionary from WebUI side.
Due that I added to schemas.py:
@Wenlin88 commented on GitHub (Jun 22, 2024):
#104