(block: Any)
| 87 | |
| 88 | |
| 89 | def _block_text(block: Any) -> str: |
| 90 | if isinstance(block, Mapping): |
| 91 | return block.get("text") or "" |
| 92 | return getattr(block, "text", "") or "" |
| 93 | |
| 94 | |
| 95 | def extract_first_prompt(messages: Any) -> str: |
no test coverage detected