Skip to content

Commit

Permalink
Use recent version of Jericho that truncates long action
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcCote committed Oct 15, 2024
1 parent 2e10a4b commit 1760bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ networkx>=2
more_itertools
tatsu>=5.8.3
hashids>=1.2.0
jericho>=3.0.3
jericho>=3.3.0
mementos>=1.3.1
termcolor

Expand Down
1 change: 1 addition & 0 deletions textworld/envs/zmachine/jericho.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,4 @@ def copy(self) -> "JerichoEnv":

# By default disable the warning about unsupported games.
warnings.simplefilter("ignore", jericho.UnsupportedGameWarning)
warnings.simplefilter("ignore", jericho.TruncatedInputActionWarning)

0 comments on commit 1760bda

Please sign in to comment.