@@ -244,11 +244,12 @@ def create_running_episodes_table(
244244 )
245245
246246 table .add_column ("Episode UUID" , style = "cyan" , no_wrap = True , width = 20 , overflow = "ellipsis" )
247- table .add_column ("Status" , style = "green" , width = 15 )
248- table .add_column ("Last Req / Patience" , style = "yellow" , width = 30 )
247+ table .add_column ("Status" , style = "green" )
248+ table .add_column ("LLM Calls" , style = "magenta" , justify = "right" )
249+ table .add_column ("Last Req / Patience" , style = "yellow" )
249250
250251 if not info .running_episode_details :
251- table .add_row ("[dim]No running episodes[/dim]" , "" , "" )
252+ table .add_row ("[dim]No running episodes[/dim]" , "" , "" , "" )
252253 return table
253254
254255 # Sort by time since last activity (descending)
@@ -261,15 +262,17 @@ def create_running_episodes_table(
261262 for episode_uuid , details in sorted_episodes [:30 ]:
262263 last_req = details ["time_since_last_activity" ]
263264 patience = details .get ("discard_episode_timeout" , "N/A" )
265+ llm_calls = details .get ("llm_call_count" , "0" )
264266 table .add_row (
265267 episode_uuid [:40 ] if len (episode_uuid ) > 40 else episode_uuid ,
266268 details ["episode_status" ],
269+ llm_calls ,
267270 f"{ last_req } / { patience } " ,
268271 )
269272
270273 if len (sorted_episodes ) > 30 :
271274 table .add_row (
272- f"[dim]... and { len (sorted_episodes ) - 30 } more episodes[/dim]" , "" , ""
275+ f"[dim]... and { len (sorted_episodes ) - 30 } more episodes[/dim]" , "" , "" , ""
273276 )
274277
275278 return table
0 commit comments