latitudegames / AIDungeon

Infinite adventures await!
http://www.aidungeon.io/
MIT License
3.18k stars 556 forks source link

Fix return value mismatch for custom setting #186

Closed ledcoyote closed 4 years ago

ledcoyote commented 4 years ago

๐ŸŽ‰ Issues resolved:

๐Ÿงช How to Test

  1. In Colab, change first lines of first code block from
    # Install
    !git clone --depth 1 --branch master https://github.com/AIDungeon/AIDungeon/

    to

    # Install
    !git clone --depth 1 --branch develop https://github.com/LEDCoyote/AIDungeon/
  2. Run "Install", "Download", and "Play" blocks in sequence.
  3. When prompted select "New Game" (0)
  4. Random Story: No (1)
  5. Setting: Custom (4)
  6. Enter a prompt and verify that the error expecting 5 return values but got 2 was not produced.