[PR #23055] [CLOSED] fix: Include meta fields in pipe model responses #42631

Closed
opened 2026-04-25 14:27:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/23055
Author: @yang1002378395-cmyk
Created: 3/26/2026
Status: Closed

Base: devHead: fix-pipe-model-meta


📝 Commits (1)

  • 3e57483 fix: Include meta fields in pipe model responses

📊 Changes

1 file changed (+49 additions, -21 deletions)

View changed files

📝 backend/open_webui/functions.py (+49 -21)

📄 Description

Pull Request Checklist

  • Target branch: Targets the dev branch
  • Description: Include meta fields in pipe model responses for Admin editor
  • Changelog: Entry added below
  • Testing: Syntax validation passed
  • Code review: Self-review completed
  • Git Hygiene: Single atomic fix

Changelog Entry

Description

Pipe models (functions) now include meta fields in their model response.

Fixed

  • Added meta fields (description, profile_image_url, capabilities) to pipe model dicts
  • Admin model editor now properly displays these fields instead of empty values

Additional Information

Fixes #23047

Root Cause: The get_function_models() function was not including the meta field from pipe objects when constructing model dictionaries, causing the Admin model editor to show empty fields.

Solution: Extract meta fields from pipe.meta and include them in both manifold and single pipe model dictionaries.

Contributor License Agreement


🔄 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/23055 **Author:** [@yang1002378395-cmyk](https://github.com/yang1002378395-cmyk) **Created:** 3/26/2026 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `fix-pipe-model-meta` --- ### 📝 Commits (1) - [`3e57483`](https://github.com/open-webui/open-webui/commit/3e574833a4f3e1e0d033d28e9b521c73b86e5ec3) fix: Include meta fields in pipe model responses ### 📊 Changes **1 file changed** (+49 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/functions.py` (+49 -21) </details> ### 📄 Description # Pull Request Checklist - [x] **Target branch:** Targets the `dev` branch - [x] **Description:** Include meta fields in pipe model responses for Admin editor - [x] **Changelog:** Entry added below - [x] **Testing:** Syntax validation passed - [x] **Code review:** Self-review completed - [x] **Git Hygiene:** Single atomic fix # Changelog Entry ### Description Pipe models (functions) now include meta fields in their model response. ### Fixed - Added meta fields (description, profile_image_url, capabilities) to pipe model dicts - Admin model editor now properly displays these fields instead of empty values --- ### Additional Information Fixes #23047 **Root Cause:** The `get_function_models()` function was not including the `meta` field from pipe objects when constructing model dictionaries, causing the Admin model editor to show empty fields. **Solution:** Extract meta fields from `pipe.meta` and include them in both manifold and single pipe model dictionaries. ### Contributor License Agreement - [x] By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <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 14:27:29 -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#42631