revert /name for now (#4978)

There was a regression where we'd read entire rollout contents if there
was no /name present.
This commit is contained in:
dedrisian-oai
2025-10-08 17:13:49 -07:00
committed by GitHub
parent ec238a2c39
commit 4300236681
13 changed files with 22 additions and 167 deletions

View File

@@ -171,11 +171,6 @@ pub enum Op {
/// to generate a summary which will be returned as an AgentMessage event.
Compact,
/// Set a human-friendly name for the current session.
/// The agent will persist this to the rollout as an event so that UIs can
/// surface it when listing sessions.
SetSessionName { name: String },
/// Request a code review from the agent.
Review { review_request: ReviewRequest },
@@ -463,9 +458,6 @@ pub enum EventMsg {
/// Signaled when the model begins a new reasoning summary section (e.g., a new titled block).
AgentReasoningSectionBreak(AgentReasoningSectionBreakEvent),
/// Session was given a human-friendly name by the user.
SessionRenamed(SessionRenamedEvent),
/// Ack the client's configure message.
SessionConfigured(SessionConfiguredEvent),
@@ -903,11 +895,6 @@ pub struct WebSearchEndEvent {
pub query: String,
}
#[derive(Debug, Clone, Deserialize, Serialize, TS)]
pub struct SessionRenamedEvent {
pub name: String,
}
/// Response payload for `Op::GetHistory` containing the current session's
/// in-memory transcript.
#[derive(Debug, Clone, Deserialize, Serialize, TS)]