Skip to content

πŸ™Œ OpenHands: AI-Driven Development

[evaluation] fix missing metadata (#7819)

Engel Nystbb98d94b3515
diff --git a/evaluation/benchmarks/swe_bench/run_infer.py b/evaluation/benchmarks/swe_bench/run_infer.py
index bd2f592c0c..694d9b7ed3 100644
--- a/evaluation/benchmarks/swe_bench/run_infer.py
+++ b/evaluation/benchmarks/swe_bench/run_infer.py
@@ -238,6 +238,7 @@ def get_config(
def initialize_runtime(
runtime: Runtime,
instance: pd.Series, # this argument is not required
+ metadata: EvalMetadata
):
"""Initialize the runtime for the agent.
@@ -577,7 +578,7 @@ def process_instance(
call_async_from_sync(runtime.connect)
try:
- initialize_runtime(runtime, instance)
+ initialize_runtime(runtime, instance, metadata)
message_action = get_instruction(instance, metadata)