mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-22 01:22:00 -05:00
[PR #17535] [CLOSED] UPD: Improve Ollama endpoint validation #24459
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/17535
Author: @sevsec
Created: 9/17/2025
Status: ❌ Closed
Base:
dev← Head:sevsec📝 Commits (1)
6d64780UPD: Improve Ollama endpoint validation📊 Changes
3 files changed (+144 additions, -5 deletions)
View changed files
📝
CHANGELOG.md(+14 -0)📝
backend/open_webui/routers/ollama.py(+18 -5)➕
backend/open_webui/test/routers/test_ollama_verify.py(+112 -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:
Changelog Entry
Added
Fixed
Description
Discussion link: https://github.com/open-webui/open-webui/discussions/17416
Incremental improvement to the verify_connection() function in
backend/open_webui/routers/ollama.py. This update checks for a valid version string that should be returned byf"{url}/api/version".🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.