mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-10 20:05:14 +03:00
1 parent
45ed5f3f51
commit
50186da0a1
149 files changed
+212
-214
No files matched your search
@@ -78,7 +78,7 @@ string = "racecar"
|
||||
if string == string[::-1]:
|
||||
print(string, "is a palindrome") # noqa: T201
|
||||
else:
|
||||
print(string, "is not a palindrome")""" # noqa: T201
|
||||
print(string, "is not a palindrome")"""
|
||||
tool = PythonAstREPLTool()
|
||||
assert tool.run(program) == "racecar is a palindrome\n"
|
||||
|
||||
|
||||
Reference in new issue
Block a user