From 129617b5cecfc8fd84edc4c26e6148f7c3add910 Mon Sep 17 00:00:00 2001 From: Aman Rusia Date: Sun, 27 Oct 2024 13:23:39 +0530 Subject: [PATCH] Basic.py instructions update --- src/wcgw/basic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wcgw/basic.py b/src/wcgw/basic.py index 15228e0..ca27b5f 100644 --- a/src/wcgw/basic.py +++ b/src/wcgw/basic.py @@ -167,6 +167,7 @@ def loop( - Optionally `exit shell has restarted` is the output, in which case environment resets, you can run fresh commands. - The first line might be `(...truncated)` if the output is too long. - Always run `pwd` if you get any file or directory not found error to make sure you're not lost. +- You can run python/node/other REPL code lines using `execute_command` too. NOTE: `execute_command` doesn't create a new shell, it uses the same shell. """, ), openai.pydantic_function_tool(