Skip to content

feat: Support for /retry #389

@tusharmath

Description

@tusharmath

Changes Required

  • This should be a first-class feature supported on the Api.

    trait Api {
       fn retry(&self, conversation_id: ConversationId) -> anyhow::Result<MpscStream<Result<AgentMessage<ChatResponse>, anyhow::Error>>>;
    }
  • Idea is that we can pull the last user message from the conversation and convert it to a ChatRequest and reinitialize the Orchestrator.

  • A new command should be added in forge_main that allows the developer to write /retry and the execution is retried.

  • Make sure we use TitleFormat to print a message consistent with the other before retrying is started.

Technical Requirements

  • Ensure all existing tests pass
  • Add new tests wherever required

Metadata

Metadata

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