mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-11 08:22:09 -05:00
[PR #10338] [CLOSED] **fix** Fixed many little bugs in exposed API #9295
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/10338
Author: @Seniorsimo
Created: 2/19/2025
Status: ❌ Closed
Base:
dev← Head:langchain_integration📝 Commits (6)
d317085fixed usage3f8c446Fix on ChatMessage validator: content can be null when using tools0758abcAdd support for tool message in openai to Ollama message conversionc4617beFix on ollama to openai conversion - stream can return a single message with response0a0b756Added "stop" parameter mapping to ollamac6c1414Merge branch 'dev' into langchain_integration📊 Changes
3 files changed (+58 additions, -83 deletions)
View changed files
📝
backend/open_webui/routers/ollama.py(+11 -2)📝
backend/open_webui/utils/payload.py(+29 -1)📝
backend/open_webui/utils/response.py(+18 -80)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
tool_callsandtool_call_idaddedstopparameter addedChanged
usagereturned by the API to match the OpenAI standard changesFixed
Additional Information
All the changes are tested and validated using this notebook file.
https://gist.github.com/Seniorsimo/214e39d7da6a72bff98f265a39c2fa14
Tested the varius intagration using:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.