mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #9059] [MERGED] fix: Update ollama.py - Missing await in coroutine #93348
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/9059
Author: @jrespeto
Created: 1/28/2025
Status: ✅ Merged
Merged: 1/29/2025
Merged by: @tjbck
Base:
dev← Head:jrespeto-patch-1📝 Commits (2)
b4be58fUpdate ollama.pya32782efix: Update openai.py📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
backend/open_webui/routers/ollama.py(+1 -1)📝
backend/open_webui/routers/openai.py(+1 -1)📄 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.
https://discord.com/channels/1170866489302188073/1333920975666024528
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Add await to line 398 to fix the error in routers/ollama.py
Description
Fixing a bug:
Missing await in coroutine causing 500 errors on /ollama/api/tags since v0.5.0
Fixed
Add await to line 398 to fix the error in routers/ollama.py
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.