{"record":{"id":"df7135adbbf9de6e","repo":"microsoft/autogen","slug":"no-taskresult-or-response-was-processed-df7135","errorCode":null,"errorMessage":"No TaskResult or Response was processed.","messagePattern":"No TaskResult or Response was processed\\.","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"python/packages/autogen-ext/src/autogen_ext/ui/_rich_console.py","lineNumber":215,"sourceCode":"            # Add usage stats if needed\n            if message.models_usage:\n                if output_stats:\n                    text_parts.append(\n                        f\"[Prompt tokens: {message.models_usage.prompt_tokens}, Completion tokens: {message.models_usage.completion_tokens}]\"\n                    )\n                total_usage.completion_tokens += message.models_usage.completion_tokens\n                total_usage.prompt_tokens += message.models_usage.prompt_tokens\n\n            await _aprint_message_content(\n                rich_console,\n                text_parts,\n                image_parts,\n                message.source,\n                render_image_iterm=render_image_iterm,\n            )\n\n    if last_processed is None:\n        raise ValueError(\"No TaskResult or Response was processed.\")\n\n    return last_processed\n\n\n# iTerm2 image rendering protocol: https://iterm2.com/documentation-images.html\ndef _image_to_iterm(image: Image) -> str:\n    image_data = image.to_base64()\n    return f\"\\033]1337;File=inline=1:{image_data}\\a\\n\"\n","sourceCodeStart":197,"sourceCodeEnd":224,"githubUrl":"https://github.com/microsoft/autogen/blob/027ecf0a379bcc1d09956d46d12d44a3ad9cee14/python/packages/autogen-ext/src/autogen_ext/ui/_rich_console.py#L197-L224","documentation":"Error \"No TaskResult or Response was processed.\" thrown in microsoft/autogen.","triggerScenarios":"Thrown at python/packages/autogen-ext/src/autogen_ext/ui/_rich_console.py:215 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the stream yields a final TaskResult or Response"],"exampleFix":"Check the team's run_stream produces a final result","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"027ecf0a379bcc1d09956d46d12d44a3ad9cee14","analyzedAt":"2026-08-15T03:38:00.719Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}