Skip to content

Slash command impl details are leaked on session restoration #9811

@peicodes

Description

@peicodes

roland said:

It looks like this is because a user query with all this info is being added to the proto message history: https://github.com/warpdotdev/warp-server/blob/bb3314cc60f177d195de2c369b32370048b8cddc/logic/ai/multi_agent/runtime/interceptors/input.go#L70

To avoid this, we need the necessary data to exist in the proto. That is, we need a message saying a /create-environment slash command was sent, and only during input formatting the server turns it into that long prompt for the llm. And the client just formats it as /create-environment


Linear: APP-2521

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.bugSomething isn't working.repro:mediumThe report suggests a plausible repro path, but some uncertainty remains.triagedIssue has received an initial automated triage pass.warp:prioritizedIssues prioritized by the Warp team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions