MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _current_step_tool_result_context

Function _current_step_tool_result_context

uncommon_route/proxy.py:1535–1541  ·  view source on GitHub ↗
(
    messages: list[Any],
    step_type: str,
)

Source from the content-addressed store, hash-verified

1533
1534
1535def _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
1544def _tool_result_is_environment_recovery(text: str, is_error: bool, command: str) -> bool:

Callers 2

_estimate_step_riskFunction · 0.85

Calls 1

Tested by

no test coverage detected