rework to isolate core

This commit is contained in:
Roy Han
2026-03-13 18:11:59 -07:00
parent f9570b714c
commit e9bf09ba09
74 changed files with 381 additions and 3403 deletions

View File

@@ -129,6 +129,7 @@ async fn auto_compaction_remote_emits_started_and_completed_items() -> Result<()
content: vec![ContentItem::OutputText {
text: "REMOTE_COMPACT_SUMMARY".to_string(),
}],
metadata: None,
end_turn: None,
phase: None,
},

View File

@@ -757,6 +757,7 @@ async fn thread_resume_rejects_history_when_thread_is_running() -> Result<()> {
content: vec![ContentItem::InputText {
text: "history override".to_string(),
}],
metadata: None,
end_turn: None,
phase: None,
}]),
@@ -1493,6 +1494,7 @@ async fn thread_resume_supports_history_and_overrides() -> Result<()> {
content: vec![ContentItem::InputText {
text: history_text.to_string(),
}],
metadata: None,
end_turn: None,
phase: None,
}];

View File

@@ -1780,7 +1780,6 @@ async fn turn_start_emits_spawn_agent_item_with_model_metadata_v2() -> Result<()
model: Some(REQUESTED_MODEL.to_string()),
reasoning_effort: Some(REQUESTED_REASONING_EFFORT),
agents_states: HashMap::new(),
metadata: None,
}
);
@@ -1809,7 +1808,6 @@ async fn turn_start_emits_spawn_agent_item_with_model_metadata_v2() -> Result<()
model,
reasoning_effort,
agents_states,
metadata: _,
} = spawn_completed
else {
unreachable!("loop ensures we break on collab agent tool call items");