[PR #11431] [MERGED] cmd: add default role to message construction #39412

Closed
opened 2026-04-23 00:12:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11431
Author: @ParthSareen
Created: 7/15/2025
Status: Merged
Merged: 7/16/2025
Merged by: @ParthSareen

Base: mainHead: parth/add-missing-role-cli


📝 Commits (1)

  • 39066bb cmd: add default role to message construction

📊 Changes

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

View changed files

📝 cmd/cmd.go (+2 -1)

📄 Description

the first response from the assistant did not have a role


🔄 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/11431 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 7/15/2025 **Status:** ✅ Merged **Merged:** 7/16/2025 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth/add-missing-role-cli` --- ### 📝 Commits (1) - [`39066bb`](https://github.com/ollama/ollama/commit/39066bb6d0a33fde7d3d792802f94f790e315325) cmd: add default role to message construction ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+2 -1) </details> ### 📄 Description the first response from the assistant did not have a role --- <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 00:12:38 -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#39412