[GH-ISSUE #3015] Suggestion: Ignore previous context in chat api. #48364

Closed
opened 2026-04-28 07:56:01 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @owenzhao on GitHub (Mar 9, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3015

Sometimes, we may change subjects when talking. All previous talks are irrelevant. But in chat API, there is no parameter for that. So maybe we can add a bool like isNewChat to start a new conversation.

Originally created by @owenzhao on GitHub (Mar 9, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3015 Sometimes, we may change subjects when talking. All previous talks are irrelevant. But in chat API, there is no parameter for that. So maybe we can add a bool like isNewChat to start a new conversation.
Author
Owner

@Hansson0728 commented on GitHub (Mar 9, 2024):

If you dont send in messages there is No context

<!-- gh-comment-id:1986847920 --> @Hansson0728 commented on GitHub (Mar 9, 2024): If you dont send in messages there is No context
Author
Owner

@owenzhao commented on GitHub (Mar 10, 2024):

If you dont send in messages there is No context

No. The contexts are implicitly included, even you don't send them in messages. You can find it easily

<!-- gh-comment-id:1987031145 --> @owenzhao commented on GitHub (Mar 10, 2024): > If you dont send in messages there is No context No. The contexts are implicitly included, even you don't send them in messages. You can find it easily
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#48364