We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d263f0c commit 040915cCopy full SHA for 040915c
1 file changed
astrbot/core/agent/runners/tool_loop_agent_runner.py
@@ -242,13 +242,7 @@ async def _iter_llm_responses_with_fallback(
242
try:
243
async for resp in self._iter_llm_responses(include_model=idx == 0):
244
if resp.is_chunk:
245
- if (
246
- resp.completion_text
247
- or resp.reasoning_content
248
- or resp.tools_call_ids
249
- or (resp.result_chain and resp.result_chain.chain)
250
- ):
251
- has_stream_output = True
+ has_stream_output = True
252
yield resp
253
continue
254
@@ -263,7 +257,7 @@ async def _iter_llm_responses_with_fallback(
263
257
candidate_id,
264
258
)
265
259
break
266
-
260
+
267
261
268
262
return
269
0 commit comments