fix(mcp): annotate initial streaming turn completion

This commit is contained in:
fangkangmi 2026-10-20 18:33:38 +01:00
parent d65aeb2f47
commit 4d23903cbb

View file

@ -351,7 +351,7 @@ async def acompletion_with_mcp(
return self._add_mcp_list_tools_to_chunk(chunk)
return chunk
async def _finish_initial_turn(self):
async def _finish_initial_turn(self) -> None:
await self._process_tool_calls()
if self.tool_results and self.complete_response:
await self._prepare_follow_up_call()