[PR #7722] [CLOSED] openai: fix follow-on messages having "role": "assistant" #17770

Closed
opened 2026-04-16 06:13:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7722
Author: @jmorganca
Created: 11/18/2024
Status: Closed

Base: mainHead: jmorganca/openai-fix-first-message


📝 Commits (1)

  • 32c48dd openai: fix follow-on messages having "role": "assistant"

📊 Changes

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

View changed files

📝 openai/openai.go (+26 -6)

📄 Description

Fixes https://github.com/ollama/ollama/issues/7626


🔄 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/7722 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 11/18/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `jmorganca/openai-fix-first-message` --- ### 📝 Commits (1) - [`32c48dd`](https://github.com/ollama/ollama/commit/32c48ddad66a6132c7ddcbebdd9548dcd87a0eea) openai: fix follow-on messages having "role": "assistant" ### 📊 Changes **1 file changed** (+26 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `openai/openai.go` (+26 -6) </details> ### 📄 Description Fixes https://github.com/ollama/ollama/issues/7626 --- <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-16 06:13:29 -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#17770