[PR #71] [MERGED] Fix: OpenAIChatMessage #293

Closed
opened 2026-02-15 20:14:58 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/pipelines/pull/71
Author: @marclp
Created: 6/6/2024
Status: Merged
Merged: 6/6/2024
Merged by: @tjbck

Base: mainHead: fix_message_content


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 schemas.py (+1 -1)

📄 Description

The content field should be of type "str | List" to conform with the chat/completions api.
Currently this is a problem, as sending a message containing an image to the pipeline causes a 422 "Unprocessable Entity" error.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/pipelines/pull/71 **Author:** [@marclp](https://github.com/marclp) **Created:** 6/6/2024 **Status:** ✅ Merged **Merged:** 6/6/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `fix_message_content` --- ### 📝 Commits (1) - [`ac037b9`](https://github.com/open-webui/pipelines/commit/ac037b94f3c8b47898889034bab6d348aba8f687) Fix: OpenAIChatMessage ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `schemas.py` (+1 -1) </details> ### 📄 Description The content field should be of type "str | List" to conform with the chat/completions api. Currently this is a problem, as sending a message containing an image to the pipeline causes a 422 "Unprocessable Entity" error. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:14:58 -05:00
yindo closed this issue 2026-02-15 20:14:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/pipelines#293