option for csv agent to not include df in prompt (#4610)

This commit is contained in:
Harrison Chase
2023-05-12 21:55:22 -07:00
committed by GitHub
parent 7d425cbf38
commit 485ecc3580
5 changed files with 35 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ def test_python_repl_no_previous_variables() -> None:
foo = 3 # noqa: F841
repl = PythonREPL()
output = repl.run("print(foo)")
assert output == "name 'foo' is not defined"
assert output == """NameError("name 'foo' is not defined")"""
def test_python_repl_pass_in_locals() -> None: