mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #10377] [MERGED] **fix** ChatMessage validator: content can be null when using tools #45563
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/open-webui/pull/10377
Author: @Seniorsimo
Created: 2/19/2025
Status: ✅ Merged
Merged: 2/19/2025
Merged by: @tjbck
Base:
dev← Head:chat-message-validator📝 Commits (1)
8662108Fix on ChatMessage validator: content can be null when using tools📊 Changes
1 file changed (+11 additions, -2 deletions)
View changed files
📝
backend/open_webui/routers/ollama.py(+11 -2)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Fixed
Additional Information
All the changes are tested and validated using this notebook file.
https://gist.github.com/Seniorsimo/214e39d7da6a72bff98f265a39c2fa14
Tested the varius intagration using:
OpenAI vs Open WebUI (gpt-3.5-turbo)
Ollama vs Open WebUI (qwen2.5:14b)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.