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

Closed
opened 2026-02-15 20:15:27 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: 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/1/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>
yindo added the pull-request label 2026-02-15 20:15:27 -05:00
yindo closed this issue 2026-02-15 20:15:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/pipelines#409