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

Function _latest_tool_result_signal

uncommon_route/proxy.py:1516–1518  ·  view source on GitHub ↗
(messages: list[Any])

Source from the content-addressed store, hash-verified

1514
1515
1516def _latest_tool_result_signal(messages: list[Any]) -> tuple[str, bool]:
1517 text, is_error, _command = _latest_tool_result_context(messages)
1518 return text, is_error
1519
1520
1521def _last_non_system_message(messages: list[Any]) -> dict[str, Any] | None:

Callers 3

_estimate_step_riskFunction · 0.85
_agent_state_pressureFunction · 0.85
extract_context_featuresFunction · 0.85

Calls 1

Tested by

no test coverage detected