[PR #8343] [MERGED] OpenAI: accept additional headers to fix CORS error #8342 #38563

Closed
opened 2026-04-22 23:14:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8343
Author: @isamu
Created: 1/8/2025
Status: Merged
Merged: 1/8/2025
Merged by: @jmorganca

Base: mainHead: patch-1


📝 Commits (1)

  • 51daab8 OpenAI: accept additional headers to fix CORS error #8342

📊 Changes

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

View changed files

📝 server/routes.go (+1 -1)

📄 Description

Related to #8342, I add some optional header for openai npm package.


🔄 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/ollama/ollama/pull/8343 **Author:** [@isamu](https://github.com/isamu) **Created:** 1/8/2025 **Status:** ✅ Merged **Merged:** 1/8/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`51daab8`](https://github.com/ollama/ollama/commit/51daab8d19f597a07630dc3a339a472697dd38ac) OpenAI: accept additional headers to fix CORS error #8342 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+1 -1) </details> ### 📄 Description Related to #8342, I add some optional header for openai npm package. --- <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-22 23:14:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#38563