File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
pydantic_ai_slim/pydantic_ai Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -212,8 +212,8 @@ def _handle_text_delta_simple( # noqa: C901
212212 start_tag = thinking_tags [0 ]
213213 before_start , after_start = content .split (start_tag , 1 )
214214
215- if before_start : # pragma: no cover
216- yield from self ._handle_text_delta_simple ( # pragma: no cover
215+ if before_start :
216+ yield from self ._handle_text_delta_simple (
217217 vendor_part_id = vendor_part_id ,
218218 content = before_start ,
219219 id = id ,
@@ -224,8 +224,8 @@ def _handle_text_delta_simple( # noqa: C901
224224 self ._vendor_id_to_part_index .pop (vendor_part_id , None )
225225 yield self .handle_thinking_delta (vendor_part_id = vendor_part_id , content = '' )
226226
227- if after_start : # pragma: no cover
228- yield from self ._handle_text_delta_simple ( # pragma: no cover
227+ if after_start :
228+ yield from self ._handle_text_delta_simple (
229229 vendor_part_id = vendor_part_id ,
230230 content = after_start ,
231231 id = id ,
You can’t perform that action at this time.
0 commit comments