[PR #408] [CLOSED] Added OpenAI Manifold pipeline. #417

Closed
opened 2026-10-18 21:05:55 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/pipelines/pull/408
Author: @healdgar
Created: 2/2/2025
Status: ❌ Closed

Base: main ← Head: add-openai-manifold-update


📝 Commits (1)

  • ff0dcb9 Added OpenAI Manifold pipeline.

📊 Changes

1 file changed (+113 additions, -0 deletions)

View changed files

➕ pipelines/openai_manifold_pipeline.py (+113 -0)

📄 Description

This modification of the Ollama manifold pipeline introduces an OpenAI-based manifold pipeline for handling chat completions using OpenAI's API. The pipeline:

Registers itself as a manifold with a unique identifier (openai_manifold).
Dynamically fetches available OpenAI models from the API on startup and when configuration changes.
Implements a pipe() function that:
Accepts user messages and constructs a valid OpenAI API request.
Removes unsupported fields (e.g., user metadata) before making API calls.
Supports both streaming and non-streaming responses.
Uses requests to interact with OpenAI’s API for chat completions.
This adaptation enables seamless integration of OpenAI’s models into the manifold framework while maintaining compatibility with existing configurations. 🚀


🔄 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/pipelines/pull/408 **Author:** [@healdgar](https://github.com/healdgar) **Created:** 2/2/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-openai-manifold-update` --- ### 📝 Commits (1) - [`ff0dcb9`](https://github.com/open-webui/pipelines/commit/ff0dcb9c34ce2a0837caa38e8f253f99136ddf12) Added OpenAI Manifold pipeline. ### 📊 Changes **1 file changed** (+113 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `pipelines/openai_manifold_pipeline.py` (+113 -0) </details> ### 📄 Description This modification of the Ollama manifold pipeline introduces an OpenAI-based manifold pipeline for handling chat completions using OpenAI's API. The pipeline: Registers itself as a manifold with a unique identifier (openai_manifold). Dynamically fetches available OpenAI models from the API on startup and when configuration changes. Implements a pipe() function that: Accepts user messages and constructs a valid OpenAI API request. Removes unsupported fields (e.g., user metadata) before making API calls. Supports both streaming and non-streaming responses. Uses requests to interact with OpenAI’s API for chat completions. This adaptation enables seamless integration of OpenAI’s models into the manifold framework while maintaining compatibility with existing configurations. 🚀 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-18 21:05:55 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/pipelines#417
No description provided.