mirror of
https://github.com/openai/codex.git
synced 2026-11-17 22:10:37 +00:00
rework to isolate core
This commit is contained in:
@@ -58,7 +58,6 @@ async fn turn_timing_state_records_ttfm_independently_of_ttft() {
|
||||
id: "msg-1".to_string(),
|
||||
content: Vec::new(),
|
||||
phase: None,
|
||||
metadata: None,
|
||||
}))
|
||||
.await
|
||||
.is_some()
|
||||
@@ -69,7 +68,6 @@ async fn turn_timing_state_records_ttfm_independently_of_ttft() {
|
||||
id: "msg-2".to_string(),
|
||||
content: Vec::new(),
|
||||
phase: None,
|
||||
metadata: None,
|
||||
}))
|
||||
.await,
|
||||
None
|
||||
@@ -102,6 +100,7 @@ fn response_item_records_turn_ttft_for_first_output_signals() {
|
||||
content: vec![ContentItem::OutputText {
|
||||
text: "hello".to_string(),
|
||||
}],
|
||||
metadata: None,
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
}));
|
||||
@@ -115,6 +114,7 @@ fn response_item_records_turn_ttft_ignores_empty_non_output_items() {
|
||||
content: vec![ContentItem::OutputText {
|
||||
text: String::new(),
|
||||
}],
|
||||
metadata: None,
|
||||
end_turn: None,
|
||||
phase: None,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user