mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #10378] [MERGED] **fix** Add support for tool message in openai to Ollama message conversion #61372
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/10378
Author: @Seniorsimo
Created: 2/19/2025
Status: ✅ Merged
Merged: 2/19/2025
Merged by: @tjbck
Base:
dev← Head:message-conversion📝 Commits (1)
6f69807Add support for tool message in openai to Ollama message conversion📊 Changes
1 file changed (+28 additions, -0 deletions)
View changed files
📝
backend/open_webui/utils/payload.py(+28 -0)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
tool_callsandtool_call_idin openai to Ollama message conversion.Added
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.