@@ -325,7 +325,7 @@ async def run_agent_auto_send(
325325 update = StreamTaskMessageFull (
326326 parent_task_message = streaming_context .task_message ,
327327 content = text_content ,
328- type = "full" ,
328+
329329 ),
330330 )
331331
@@ -350,7 +350,7 @@ async def run_agent_auto_send(
350350 update = StreamTaskMessageFull (
351351 parent_task_message = streaming_context .task_message ,
352352 content = tool_request_content ,
353- type = "full" ,
353+
354354 ),
355355 )
356356
@@ -367,14 +367,14 @@ async def run_agent_auto_send(
367367 async with (
368368 self .streaming_service .streaming_task_message_context (
369369 task_id = task_id ,
370- initial_content = tool_response_content ,
370+ initial_content = tool_response_content
371371 ) as streaming_context
372372 ):
373373 await streaming_context .stream_update (
374374 update = StreamTaskMessageFull (
375375 parent_task_message = streaming_context .task_message ,
376- content = tool_response_content ,
377- type = "full" ,
376+ content = tool_response_content
377+
378378 ),
379379 )
380380
@@ -629,8 +629,8 @@ async def run_agent_streamed_auto_send(
629629 await streaming_context .stream_update (
630630 update = StreamTaskMessageFull (
631631 parent_task_message = streaming_context .task_message ,
632- content = tool_request_content ,
633- type = "full" ,
632+ content = tool_request_content
633+
634634 ),
635635 )
636636
@@ -650,15 +650,15 @@ async def run_agent_streamed_auto_send(
650650 async with (
651651 self .streaming_service .streaming_task_message_context (
652652 task_id = task_id ,
653- initial_content = tool_response_content ,
653+ initial_content = tool_response_content
654654 ) as streaming_context
655655 ):
656656 # The message has already been persisted, but we still need to send an update
657657 await streaming_context .stream_update (
658658 update = StreamTaskMessageFull (
659659 parent_task_message = streaming_context .task_message ,
660- content = tool_response_content ,
661- type = "full" ,
660+ content = tool_response_content
661+
662662 ),
663663 )
664664
0 commit comments