(
messages: list[Any],
step_type: str,
)
| 1533 | |
| 1534 | |
| 1535 | def _current_step_tool_result_context( |
| 1536 | messages: list[Any], |
| 1537 | step_type: str, |
| 1538 | ) -> tuple[str, bool, str]: |
| 1539 | if step_type != "tool-result-followup": |
| 1540 | return "", False, "" |
| 1541 | return _latest_tool_result_context(messages) |
| 1542 | |
| 1543 | |
| 1544 | def _tool_result_is_environment_recovery(text: str, is_error: bool, command: str) -> bool: |
no test coverage detected