feat(gui): Implement event-driven API metrics updates and decouple from render loop
This commit is contained in:
@@ -53,7 +53,7 @@ def test_diagnostics_panel_updates(app_instance):
|
||||
|
||||
# We also need to mock ai_client stats
|
||||
with patch('ai_client.get_history_bleed_stats', return_value={}):
|
||||
app_instance._update_telemetry_panel()
|
||||
app_instance._update_performance_diagnostics()
|
||||
|
||||
# Verify UI updates
|
||||
mock_set_value.assert_any_call("perf_fps_text", "100.0")
|
||||
|
||||
Reference in New Issue
Block a user