{"record":{"id":"7e7d25b25a37abad","repo":"exo-explore/exo","slug":"error-message-7e7d25","errorCode":null,"errorMessage":"{error_message}","messagePattern":"\\{error_message\\}","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"src/exo/api/adapters/responses.py","lineNumber":445,"sourceCode":"            for tool in chunk.tool_calls:\n                function_call_items.append(\n                    ResponseFunctionCallItem(\n                        id=tool.id,\n                        call_id=tool.id,\n                        name=tool.name,\n                        arguments=tool.arguments,\n                    )\n                )\n            continue\n\n        if chunk.is_thinking:\n            thinking_parts.append(chunk.text)\n            continue\n\n        accumulated_text += chunk.text\n\n    if error_message is not None:\n        raise ValueError(error_message)\n\n    # Create usage from usage data if available\n    usage = _build_response_usage(last_usage) if last_usage is not None else None\n\n    output: list[ResponseItem] = []\n    if thinking_parts:\n        output.append(\n            ResponseReasoningItem(\n                id=reasoning_id,\n                summary=[ResponseReasoningSummaryText(text=\"\".join(thinking_parts))],\n            )\n        )\n    output.append(\n        ResponseMessageItem(\n            id=item_id,\n            content=[ResponseOutputText(text=accumulated_text)],\n            status=\"completed\",\n        )","sourceCodeStart":427,"sourceCodeEnd":463,"githubUrl":"https://github.com/exo-explore/exo/blob/21a54c5ea0230a3bec1e1a786d200126c7e34ec6/src/exo/api/adapters/responses.py#L427-L463","documentation":"Error \"{error_message}\" thrown in exo-explore/exo.","triggerScenarios":"Thrown at src/exo/api/adapters/responses.py:445 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"21a54c5ea0230a3bec1e1a786d200126c7e34ec6","analyzedAt":"2026-08-26T00:02:16.033Z","schemaVersion":2},"datasetVersion":"2026-08-26T04:18:47.238Z"}