[PR #13351] [MERGED] openai: add v1/responses support #40047

Closed
opened 2026-04-23 01:03:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13351
Author: @drifkin
Created: 12/5/2025
Status: Merged
Merged: 12/11/2025
Merged by: @drifkin

Base: mainHead: drifkin/responses


📝 Commits (3)

📊 Changes

5 files changed (+2688 additions, -22 deletions)

View changed files

📝 middleware/openai.go (+108 -0)
📝 openai/openai.go (+31 -22)
openai/responses.go (+1004 -0)
openai/responses_test.go (+1543 -0)
📝 server/routes.go (+2 -0)

📄 Description

Intending to start by only supporting the stateless part of the API.

Closes: #9659


🔄 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/13351 **Author:** [@drifkin](https://github.com/drifkin) **Created:** 12/5/2025 **Status:** ✅ Merged **Merged:** 12/11/2025 **Merged by:** [@drifkin](https://github.com/drifkin) **Base:** `main` ← **Head:** `drifkin/responses` --- ### 📝 Commits (3) - [`6776186`](https://github.com/ollama/ollama/commit/67761867f4f3bbe91ad8160a0a6d778185c97646) openai: add v1/responses support - [`bc08b82`](https://github.com/ollama/ollama/commit/bc08b82c7769f009d80250f906943e2d7aa9e177) address feedback - [`47d9386`](https://github.com/ollama/ollama/commit/47d93868f4a31dc2239ea495a68c60033b7cc575) fix lint ### 📊 Changes **5 files changed** (+2688 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `middleware/openai.go` (+108 -0) 📝 `openai/openai.go` (+31 -22) ➕ `openai/responses.go` (+1004 -0) ➕ `openai/responses_test.go` (+1543 -0) 📝 `server/routes.go` (+2 -0) </details> ### 📄 Description Intending to start by only supporting the stateless part of the API. Closes: #9659 --- <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-23 01:03:09 -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#40047