[PR #74] [MERGED] fix: make azure openai work by dropping/modifying params #296

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

📋 Pull Request Information

Original PR: https://github.com/open-webui/pipelines/pull/74
Author: @cheahjs
Created: 6/7/2024
Status: Merged
Merged: 6/7/2024
Merged by: @tjbck

Base: mainHead: fix/azure-openai


📝 Commits (1)

  • 19fef57 fix: make azure openai work by dropping/modifying params

📊 Changes

1 file changed (+20 additions, -7 deletions)

View changed files

📝 examples/pipelines/providers/azure_openai_pipeline.py (+20 -7)

📄 Description

Azure OpenAI throws errors if the body doesn't exactly match the spec.

  1. Drop any params that are not supported (https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions)
  2. Modify the user param to fit into a string

🔄 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/74 **Author:** [@cheahjs](https://github.com/cheahjs) **Created:** 6/7/2024 **Status:** ✅ Merged **Merged:** 6/7/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `fix/azure-openai` --- ### 📝 Commits (1) - [`19fef57`](https://github.com/open-webui/pipelines/commit/19fef5774e948793781c2add1cac08501c5526a9) fix: make azure openai work by dropping/modifying params ### 📊 Changes **1 file changed** (+20 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `examples/pipelines/providers/azure_openai_pipeline.py` (+20 -7) </details> ### 📄 Description Azure OpenAI throws errors if the body doesn't exactly match the spec. 1. Drop any params that are not supported (https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions) 2. Modify the `user` param to fit into a string --- <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:14:59 -05:00
yindo closed this issue 2026-02-15 20:14:59 -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#296