[PR #9059] [MERGED] fix: Update ollama.py - Missing await in coroutine #37940

Closed
opened 2026-04-25 11:12:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: jrespeto-patch-1


📝 Commits (2)

📊 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:

  • [ x ] Target branch: Please verify that the pull request targets the dev branch.
  • [ x ] Description: Provide a concise description of the changes made in this pull request.
  • [ x ] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • [ x ] Testing: Have you written and run sufficient tests for validating the changes?
  • [ x ] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • [ x ] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:
    • fix: Bug fix or error correction

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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/9059 **Author:** [@jrespeto](https://github.com/jrespeto) **Created:** 1/28/2025 **Status:** ✅ Merged **Merged:** 1/29/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `jrespeto-patch-1` --- ### 📝 Commits (2) - [`b4be58f`](https://github.com/open-webui/open-webui/commit/b4be58f6b6f4199e17f3dfc16705b5cf7753c9bd) Update ollama.py - [`a32782e`](https://github.com/open-webui/open-webui/commit/a32782e5279fc6a40439590bdd8dd9fa159d8b47) fix: Update openai.py ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/routers/ollama.py` (+1 -1) 📝 `backend/open_webui/routers/openai.py` (+1 -1) </details> ### 📄 Description # Pull Request Checklist ### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/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:** - [ x ] **Target branch:** Please verify that the pull request targets the `dev` branch. - [ x ] **Description:** Provide a concise description of the changes made in this pull request. - [ x ] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [ x ] **Testing:** Have you written and run sufficient tests for validating the changes? - [ x ] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [ x ] **Prefix:** To cleary categorize this pull request, prefix the pull request title, using one of the following: - **fix**: Bug fix or error correction # 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 --- --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 11:12:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#37940