[PR #13736] [MERGED] openai: tweak v1/responses to conform better #14369

Closed
opened 2026-04-13 00:51:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13736
Author: @drifkin
Created: 1/15/2026
Status: Merged
Merged: 1/15/2026
Merged by: @drifkin

Base: mainHead: drifkin/responses-tweaks


📝 Commits (3)

  • f393d83 openai: tweak v1/responses to conform better
  • 6a6db6a openai: provide better error for image URLs
  • c5b5694 lint

📊 Changes

4 files changed (+335 additions, -78 deletions)

View changed files

📝 middleware/openai.go (+7 -2)
📝 openai/openai.go (+4 -0)
📝 openai/responses.go (+315 -67)
📝 openai/responses_test.go (+9 -9)

📄 Description

No description provided


🔄 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/13736 **Author:** [@drifkin](https://github.com/drifkin) **Created:** 1/15/2026 **Status:** ✅ Merged **Merged:** 1/15/2026 **Merged by:** [@drifkin](https://github.com/drifkin) **Base:** `main` ← **Head:** `drifkin/responses-tweaks` --- ### 📝 Commits (3) - [`f393d83`](https://github.com/ollama/ollama/commit/f393d839d243007f1ce9b5ee18cdd5bfb03cdce1) openai: tweak v1/responses to conform better - [`6a6db6a`](https://github.com/ollama/ollama/commit/6a6db6ae11de7cea1da1f33a039835c0d3ba2f14) openai: provide better error for image URLs - [`c5b5694`](https://github.com/ollama/ollama/commit/c5b56945fa5e2d4a0cc083bb987db997f5b49bd5) lint ### 📊 Changes **4 files changed** (+335 additions, -78 deletions) <details> <summary>View changed files</summary> 📝 `middleware/openai.go` (+7 -2) 📝 `openai/openai.go` (+4 -0) 📝 `openai/responses.go` (+315 -67) 📝 `openai/responses_test.go` (+9 -9) </details> ### 📄 Description _No description provided_ --- <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-13 00:51:57 -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#14369