We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f75796 commit 017c203Copy full SHA for 017c203
1 file changed
tests/agents/test_gaia_agent.py
@@ -1,5 +1,6 @@
1
import os
2
import uuid
3
+from pathlib import Path
4
5
from tapeagents.steps import ImageObservation
6
@@ -80,14 +81,14 @@ def test_gaia_gym_reset():
80
81
config = load_config("gaia_val")
82
bench = GaiaBenchmark.from_config(config, dataset=mock_dataset())
83
args = bench.env_args_list[5]
- env = args.make_env(exp_dir)
84
+ env = args.make_env(Path(exp_dir))
85
steps, _ = env.reset()
86
assert len(steps) == 1
87
assert isinstance(steps[0], GaiaQuestion)
88
assert steps[0].content.startswith(args.task["Question"])
89
90
args = bench.env_args_list[20]
91
92
93
assert len(steps) == 2
94
0 commit comments