[PR #861] [CLOSED] Added /clear command to clear the buffer #15633

Closed
opened 2026-04-16 05:03:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/861
Author: @pepperoni21
Created: 10/20/2023
Status: Closed

Base: mainHead: main


📝 Commits (5)

  • 1d8e241 Added /clear command
  • 96aaf23 Fixed /clear command identation
  • 6cacba2 Merge branch 'jmorganca:main' into main
  • 8ec6a1c Merge remote-tracking branch 'refs/remotes/origin/main'
  • ac323c3 Added support for windows

📊 Changes

1 file changed (+12 additions, -0 deletions)

View changed files

📝 cmd/cmd.go (+12 -0)

📄 Description

Hey,

I thought a /clear command could enhance user experience.

It should work for both windows and linux/mac.


🔄 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/861 **Author:** [@pepperoni21](https://github.com/pepperoni21) **Created:** 10/20/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (5) - [`1d8e241`](https://github.com/ollama/ollama/commit/1d8e241bb55e4d8942cee2e206d5437e20ae07ed) Added /clear command - [`96aaf23`](https://github.com/ollama/ollama/commit/96aaf230001a4f23b5cf369215a74525d91d1c99) Fixed /clear command identation - [`6cacba2`](https://github.com/ollama/ollama/commit/6cacba208bd36adfe39f7f42b374164200c8d13a) Merge branch 'jmorganca:main' into main - [`8ec6a1c`](https://github.com/ollama/ollama/commit/8ec6a1cc244a612bb5384852219e409c2a97e4e7) Merge remote-tracking branch 'refs/remotes/origin/main' - [`ac323c3`](https://github.com/ollama/ollama/commit/ac323c3e88187c62c184c2d027e70b49565d9dfb) Added support for windows ### 📊 Changes **1 file changed** (+12 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+12 -0) </details> ### 📄 Description Hey, I thought a /clear command could enhance user experience. It should work for both windows and linux/mac. --- <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 05:03:43 -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#15633