Skip to content

Commit

Permalink
#0: Resupport running aribtrary tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yieldthought committed Oct 25, 2024
1 parent 19f8187 commit 04c201b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/demos/llama3/lt
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,8 @@ def run_entry_command(entry, screen_lock, output_entries, screen_needs_update):
command_input = entry["command_input"]
if command_input in command_shortcuts:
command_input = command_shortcuts[command_input]
elif command_input.startswith("pytest "):
pass # Run anything you want, bro!
else: # If command is invalid, set status to "Error" and return a message to the user with the full list of commands
entry["status"] = "Error"
entry["output"] = f"Warning: '{command_input}' is not a valid command. Valid commands are: " + ", ".join(
Expand Down

0 comments on commit 04c201b

Please sign in to comment.