mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-29 09:21:58 +00:00
fix: lint — shorten long lines in CLI and agentic runner
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
9b511e08f7
commit
ed47fece39
@@ -121,7 +121,7 @@ BENCHMARKS = {
|
||||
},
|
||||
"pinchbench": {
|
||||
"category": "agentic",
|
||||
"description": "PinchBench real-world agent tasks (23 tasks, multi-turn with tool use)",
|
||||
"description": "PinchBench real-world agent tasks",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -532,7 +532,10 @@ def _run_agentic(
|
||||
# Wire judge for PinchBench LLM-judge and hybrid grading
|
||||
if config.benchmark == "pinchbench" and hasattr(dataset, "set_judge"):
|
||||
judge_engine = getattr(config, "judge_engine", "cloud") or "cloud"
|
||||
judge_model = getattr(config, "judge_model", None) or "anthropic/claude-opus-4-5"
|
||||
judge_model = (
|
||||
getattr(config, "judge_model", None)
|
||||
or "anthropic/claude-opus-4-5"
|
||||
)
|
||||
judge_backend = _build_judge_backend(judge_model, engine_key=judge_engine)
|
||||
dataset.set_judge(judge_backend, judge_model)
|
||||
|
||||
|
||||
@@ -329,7 +329,8 @@ class AgenticRunner:
|
||||
if agent_bus is not None:
|
||||
for etype in (EventType.TOOL_CALL_START, EventType.TOOL_CALL_END):
|
||||
def _relay(event, _etype=etype):
|
||||
event_recorder.record(_etype, **(event.data if hasattr(event, "data") else {}))
|
||||
data = event.data if hasattr(event, "data") else {}
|
||||
event_recorder.record(_etype, **data)
|
||||
agent_bus.subscribe(etype, _relay)
|
||||
_bus_unsubs.append((etype, _relay))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user