Skip to content

Prompt history is shared across separate session #4628

@driebe

Description

@driebe

Description

Not a 100% sure whether this is a bug or should be a feature request. However, I noticed that all primary agents all share the same prompt history (Arrow up) across all sessions. I think sharing the prompt history in the context of one session makes sense. But it should not be shared across separate sessions since each session may have completely different usage context.

OpenCode version

1.0.85

Steps to reproduce

  1. Submit a prompt
  2. Change the session
  3. Arrow up

=> Prompt shown is from the previous session context

Screenshot and/or share link

No response

Operating System

6.12.48-1-MANJARO x86_64

Terminal

zsh

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions