mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 22:21:27 -05:00
[PR #7914] [CLOSED] feat: Add ollama structured output format pass-through #8928
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/7914
Author: @envision3d
Created: 12/17/2024
Status: ❌ Closed
Base:
main← Head:ollama-structured-output📝 Commits (2)
3f9cec6pass structured output format through to ollama97809f7Debug cleanup📊 Changes
2 files changed (+4 additions, -1 deletions)
View changed files
📝
backend/open_webui/apps/ollama/main.py(+1 -1)📝
backend/open_webui/utils/payload.py(+3 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
formatto the chat/completions endpoint to make use of ollama's newly added structured output functionalityAdded
formatproperty for chat/completionsChanged
formatfield inGenerateChatCompletionFormDocumentation PR
https://github.com/open-webui/docs/pull/319
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.