Skip to content

Fork button on assistant response texts #36923

Description

@ohsalmeron

The fork dialog already exists (dialog-fork), but you need to open the command palette to use it. Adding a fork icon button directly on each assistant text response lets you fork from that message point in one click.

The button appears on hover next to the copy button on assistant text responses. It calls the same POST /api/session/:sessionID/fork endpoint and navigates to the new session.

Branch: ohsalmeron/opencode:fork-message

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

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