mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
[evaluation] fix missing metadata (#7819)
This commit is contained in:
parent
d114c45135
commit
bb98d94b35
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user