File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1275,6 +1275,7 @@ mod tests {
12751275 create_read_mcp_resource_tool ( ) ,
12761276 PLAN_TOOL . clone ( ) ,
12771277 create_apply_patch_freeform_tool ( ) ,
1278+ create_read_file_tool ( ) ,
12781279 ToolSpec :: WebSearch { } ,
12791280 create_view_image_tool ( ) ,
12801281 ] {
@@ -1359,8 +1360,8 @@ mod tests {
13591360 "read_mcp_resource" ,
13601361 "update_plan" ,
13611362 "apply_patch" ,
1362- "web_search" ,
13631363 "read_file" ,
1364+ "web_search" ,
13641365 "view_image" ,
13651366 ] ,
13661367 ) ;
@@ -1381,8 +1382,8 @@ mod tests {
13811382 "read_mcp_resource" ,
13821383 "update_plan" ,
13831384 "apply_patch" ,
1384- "web_search" ,
13851385 "read_file" ,
1386+ "web_search" ,
13861387 "view_image" ,
13871388 ] ,
13881389 ) ;
@@ -1416,6 +1417,7 @@ mod tests {
14161417 "read_mcp_resource" ,
14171418 "update_plan" ,
14181419 "apply_patch" ,
1420+ "read_file" ,
14191421 "view_image" ,
14201422 ] ,
14211423 ) ;
Original file line number Diff line number Diff line change @@ -772,7 +772,17 @@ fn command_execution_output_delta_updates_item_progress() {
772772 } ) ,
773773 ) ;
774774 let out_delta = ep. collect_thread_events ( & delta) ;
775- assert_eq ! ( out_delta, Vec :: <ThreadEvent >:: new( ) ) ;
775+ assert_eq ! (
776+ out_delta,
777+ vec![ ThreadEvent :: Raw ( RawEvent {
778+ raw: json!( {
779+ "type" : "exec_command_output_delta" ,
780+ "call_id" : "delta-1" ,
781+ "stream" : "stdout" ,
782+ "chunk" : "cGFydGlhbCBvdXRwdXQK" ,
783+ } ) ,
784+ } ) ]
785+ ) ;
776786
777787 let end = event (
778788 "d3" ,
You can’t perform that action at this time.
0 commit comments