File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -258,9 +258,11 @@ def create_wrapper_with_signature() -> Callable[[], None]:
258258
259259 # Track whether we've opened browser for this invocation
260260 browser_opened_for_invocation = False
261+ # Track whether we've already suggested running `ep logs`
262+ ep_logs_prompted = False
261263
262264 async def wrapper_body (** kwargs : Unpack [ParameterizedTestKwargs ]) -> None :
263- nonlocal browser_opened_for_invocation
265+ nonlocal browser_opened_for_invocation , ep_logs_prompted
264266
265267 # Initialize external logging sinks (Fireworks/ES) from env (idempotent)
266268 init_external_logging_from_env ()
@@ -281,6 +283,9 @@ async def wrapper_body(**kwargs: Unpack[ParameterizedTestKwargs]) -> None:
281283 table_url = generate_invocation_filter_url (invocation_id , f"{ base_url } /table" )
282284 open_browser_tab (table_url )
283285 browser_opened_for_invocation = True
286+ elif not ep_logs_prompted :
287+ print ("Tip: Run `ep logs` in another terminal to start the local UI before viewing results." )
288+ ep_logs_prompted = True
284289
285290 eval_metadata = None
286291
You can’t perform that action at this time.
0 commit comments