File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ class TestRunModel(BaseModel):
9191 agent : Optional [str ] = None
9292 agent_steps : Optional [int ] = None
9393 agent_metrics : list [str ] = Field (default = ["default" ])
94+ agent_reward_function : Optional [str ] = None
9495
9596 def tdef_model_dump (self , by_alias : bool ) -> dict :
9697 """Return a dictionary with non-None values that correspond to the test definition fields."""
@@ -101,6 +102,7 @@ def tdef_model_dump(self, by_alias: bool) -> dict:
101102 "agent" : self .agent ,
102103 "agent_steps" : self .agent_steps ,
103104 "agent_metrics" : self .agent_metrics ,
105+ "agent_reward_function" : self .agent_reward_function ,
104106 "extra_container_mounts" : self .extra_container_mounts ,
105107 "extra_env_vars" : self .extra_env_vars if self .extra_env_vars else None ,
106108 "cmd_args" : self .cmd_args .model_dump (by_alias = by_alias ) if self .cmd_args else None ,
You can’t perform that action at this time.
0 commit comments