Andrei Cozma commited on
Commit
6bb60fd
·
1 Parent(s): ec8233c
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -33,7 +33,7 @@ def load_agent(agent_key, **kwargs):
33
  )
34
  # Overwrite any conflicting arguments with those from the file name
35
  parsed_args["env"] = env_key
36
- kwargs |= parsed_args
37
  print("agent_args:", kwargs)
38
  except IndexError as e:
39
  raise ValueError(
 
33
  )
34
  # Overwrite any conflicting arguments with those from the file name
35
  parsed_args["env"] = env_key
36
+ kwargs.update(parsed_args)
37
  print("agent_args:", kwargs)
38
  except IndexError as e:
39
  raise ValueError(