[PR #51] [CLOSED] Openai proxy #22282

Closed
opened 2026-02-21 20:18:37 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/51
Author: @zhuyunxiang
Created: 5/16/2023
Status: Closed

Base: mainHead: openai-proxy


📝 Commits (2)

  • 765788f add openai proxy site support.
  • 1555d63 fix openai base env bug

📊 Changes

7 files changed (+23 additions, -1 deletions)

View changed files

📝 api/.env.example (+3 -0)
📝 api/Dockerfile (+1 -0)
📝 api/config.py (+2 -0)
📝 api/core/embedding/openai_embedding.py (+4 -0)
📝 api/core/llm/moderation.py (+5 -0)
📝 api/core/llm/provider/openai_provider.py (+4 -1)
📝 docker/docker-compose.yaml (+4 -0)

📄 Description

Set OPENAI_API_BASE env to support openai proxy site.


🔄 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/langgenius/dify/pull/51 **Author:** [@zhuyunxiang](https://github.com/zhuyunxiang) **Created:** 5/16/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `openai-proxy` --- ### 📝 Commits (2) - [`765788f`](https://github.com/langgenius/dify/commit/765788fc6111f6a69f33bcc9d13b020c07c59862) add openai proxy site support. - [`1555d63`](https://github.com/langgenius/dify/commit/1555d637a8e80460d8106394235022ae2d3900b9) fix openai base env bug ### 📊 Changes **7 files changed** (+23 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `api/.env.example` (+3 -0) 📝 `api/Dockerfile` (+1 -0) 📝 `api/config.py` (+2 -0) 📝 `api/core/embedding/openai_embedding.py` (+4 -0) 📝 `api/core/llm/moderation.py` (+5 -0) 📝 `api/core/llm/provider/openai_provider.py` (+4 -1) 📝 `docker/docker-compose.yaml` (+4 -0) </details> ### 📄 Description Set OPENAI_API_BASE env to support openai proxy site. --- <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-21 20:18:37 -05:00
yindo closed this issue 2026-02-21 20:18:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22282