mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 10:05:26 -04:00
[PR #71] [MERGED] Fix: OpenAIChatMessage #293
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?
📋 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:
main← Head:fix_message_content📝 Commits (1)
ac037b9Fix: OpenAIChatMessage📊 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.