[evaluation] fix missing metadata (#7819)

This commit is contained in:
Engel Nyst
2025-04-11 18:58:59 +02:00
committed by GitHub
parent d114c45135
commit bb98d94b35

View File

@@ -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)