Sypha AI Docs
Features

Editing Messages

Sypha enables you to modify chat messages in a task after submission. This capability allows you to refine your requests without initiating a new task, helping you achieve better results with minimal workflow disruption.

When to Edit Messages

You may wish to edit a message when:

  • The results didn't meet your expectations
  • A better phrasing for your request occurred to you
  • Additional information or context needs to be included
  • Your original message contained a typo or error

How to Edit Messages

  1. Select any message in the conversation (excluding the initial task message)
  2. Modify the text as required
  3. Utilize the restore options to resubmit your request
Message editing interface

Restore Options

Upon editing a message, you have two restoration options:

Restore Chat

The "Restore Chat" option:

  • Restores exclusively the task state
  • Resubmits an API request with your modified message
  • Retains all file changes made up to that point
  • Proves useful when you wish to maintain the current workspace state

Restore All

The "Restore All" option:

  • Restores both the task state and workspace state
  • Resubmits an API request with your modified message
  • Reverts your workspace to its state at that conversation point
  • Leverages checkpoints under the hood to restore your workspace
  • Proves useful when you want to attempt a completely different approach

Keyboard Shortcuts

While editing a message, you can employ these keyboard shortcuts:

  • Escape: Exit edit mode without implementing changes
  • Enter: Restore only the task (equivalent to "Restore Chat")
  • Cmd/Ctrl + Enter: Restore both task and workspace (equivalent to "Restore All")
  • Shift + Enter: Insert a new line / line break in your message

Best Practices

  • Employ message editing for minor adjustments to your requests
  • For significant directional changes, consider initiating a new task
  • When utilizing "Restore All," recognize that any file changes made after that message will be reverted
  • Edit messages nearer to the conversation's beginning to prevent losing substantial progress

On this page