Concatenated text of the posted-back result's text blocks.
(item: DispatchedToolCall)
| 135 | |
| 136 | |
| 137 | def _result_text(item: DispatchedToolCall) -> str: |
| 138 | """Concatenated text of the posted-back result's text blocks.""" |
| 139 | return "".join(b.get("text", "") for b in _result_content(item) if b.get("type") == "text") |
| 140 | |
| 141 | |
| 142 | def _api_status_error(code: int) -> APIStatusError: |
no test coverage detected