[GH-ISSUE #981] Add message history to the /generate API #478

Closed
opened 2026-04-12 10:09:27 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @BruceMacD on GitHub (Nov 3, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/981

Originally assigned to: @BruceMacD on GitHub.

Add a new messages field to the /generate API that takes an array of past messages in the conversation history. This field can replace context (although, we will continue to support both for now).

Originally created by @BruceMacD on GitHub (Nov 3, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/981 Originally assigned to: @BruceMacD on GitHub. Add a new `messages` field to the `/generate` API that takes an array of past messages in the conversation history. This field can replace `context` (although, we will continue to support both for now).
GiteaMirror added the feature request label 2026-04-12 10:09:27 -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#478