Skip to content

Commit 4c5c44f

Browse files
author
Ovtcharov
committed
fix(eval): suppress pylint W0613 for keep_sessions parameter
Sessions are now always preserved (merge resolution took main's "always keep" behavior). The parameter is retained for backward compatibility with existing callers but marked as unused.
1 parent 0ef0404 commit 4c5c44f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/gaia/eval/runner.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,13 @@ def find_scenarios(scenario_id=None, category=None, extra_dirs=None, tags=None):
422422

423423
def build_scenario_prompt(
424424
scenario_data, manifest_data, backend_url, keep_sessions=False, agent_type=None
425-
):
425+
): # pylint: disable=unused-argument
426426
"""Build the prompt passed to `claude -p` for one scenario.
427427
428-
When *keep_sessions* is True, the simulator skips deleting the Agent UI
429-
session after the eval so it remains available for manual inspection.
428+
Sessions are always preserved (never deleted) so they remain available
429+
for manual inspection in the Agent UI. The *keep_sessions* parameter
430+
is retained for backward compatibility with existing callers but has
431+
no effect.
430432
431433
When *agent_type* is set, the simulator is instructed to create sessions
432434
bound to that agent registration ID (e.g. "gaia-lite"). Without it, the

0 commit comments

Comments
 (0)