settings: Remove unused stream_edits setting in agent (#40640)

This setting is unused (we always stream edits)

Release Notes:

- N/A
This commit is contained in:
Bennet Fenner
2025-10-19 15:52:28 +00:00
committed by GitHub
parent 1b43a632dc
commit 4507110981
4 changed files with 0 additions and 9 deletions
-2
View File
@@ -884,8 +884,6 @@
// Note: This setting has no effect on external agents that support permission modes, such as Claude Code.
// You can set `agent_servers.claude.default_mode` to `bypassPermissions` to skip all permission requests.
"always_allow_tool_actions": false,
// When enabled, the agent will stream edits.
"stream_edits": false,
// When enabled, agent edits will be displayed in single-file editors for review
"single_file_review": true,
// When enabled, show voting thumbs for feedback on agent edits.
@@ -41,7 +41,6 @@ pub struct AgentSettings {
pub always_allow_tool_actions: bool,
pub notify_when_agent_waiting: NotifyWhenAgentWaiting,
pub play_sound_when_agent_done: bool,
pub stream_edits: bool,
pub single_file_review: bool,
pub model_parameters: Vec<LanguageModelParameters>,
pub preferred_completion_mode: CompletionMode,
@@ -174,7 +173,6 @@ impl Settings for AgentSettings {
always_allow_tool_actions: agent.always_allow_tool_actions.unwrap(),
notify_when_agent_waiting: agent.notify_when_agent_waiting.unwrap(),
play_sound_when_agent_done: agent.play_sound_when_agent_done.unwrap(),
stream_edits: agent.stream_edits.unwrap(),
single_file_review: agent.single_file_review.unwrap(),
model_parameters: agent.model_parameters,
preferred_completion_mode: agent.preferred_completion_mode.unwrap().into(),
-1
View File
@@ -1,7 +1,6 @@
{
"assistant": {
"always_allow_tool_actions": true,
"stream_edits": true,
"version": "2"
}
}
@@ -68,10 +68,6 @@ pub struct AgentSettingsContent {
///
/// Default: false
pub play_sound_when_agent_done: Option<bool>,
/// Whether to stream edits from the agent as they are received.
///
/// Default: false
pub stream_edits: Option<bool>,
/// Whether to display agent edits in single-file editors in addition to the review multibuffer pane.
///
/// Default: true