Skip to content

Commit

Permalink
fix for [Docs] Sample code on file-manager-tool docs page is incorrect (
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-griptape-ai authored Dec 16, 2024
1 parent 7521927 commit 1240b1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
filename = "sample1.txt"
content = "This is the content of sample1.txt"

Path(filename).write_text(filename)
Path(filename).write_text(content)

# Now, read content from the file 'sample1.txt' using the agent's command
agent.run("Can you get me the sample1.txt file?")

0 comments on commit 1240b1c

Please sign in to comment.