mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
feat: Allow attaching/changing repository for existing conversations (#12671)
Co-authored-by: mkdev11 <MkDev11@users.noreply.github.com> Co-authored-by: hieptl <hieptl.developer@gmail.com>
This commit is contained in:
@@ -1680,8 +1680,8 @@ async def test_condenser_metrics_included(mock_agent_with_stats, test_event_stre
|
||||
assert last_action.llm_metrics is not None
|
||||
|
||||
# Verify that both agent and condenser metrics are included
|
||||
assert (
|
||||
last_action.llm_metrics.accumulated_cost == 0.08
|
||||
assert last_action.llm_metrics.accumulated_cost == pytest.approx(
|
||||
0.08
|
||||
) # 0.05 from agent + 0.03 from condenser
|
||||
|
||||
# The accumulated token usage should include both agent and condenser metrics
|
||||
|
||||
Reference in New Issue
Block a user