[GH-ISSUE #15954] Add PreviousResponseID for continued conversations #87848

Open
opened 2026-05-10 06:26:58 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @tognaeg on GitHub (May 4, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15954

Currently, to achieve a continuing conversation through the API, all previous messages need to be passed along to the selected model. This is quite cumbersome in implementation.
Please consider adding a ResponseID to each message from a model, and allow setting a parameter PreviousResponseID when sending a message to a model which will allow the model to refer back to the previous message(s). Ideally this behaviour would be analogous to OpenAI's PreviousResponseID.

Originally created by @tognaeg on GitHub (May 4, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15954 Currently, to achieve a continuing conversation through the API, all previous messages need to be passed along to the selected model. This is quite cumbersome in implementation. Please consider adding a ResponseID to each message from a model, and allow setting a parameter PreviousResponseID when sending a message to a model which will allow the model to refer back to the previous message(s). Ideally this behaviour would be analogous to OpenAI's PreviousResponseID.
GiteaMirror added the feature request label 2026-05-10 06:26:58 -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#87848