Spaces:
Runtime error
Runtime error
| from langchain_core.tools import tool | |
| def note_tool(note): | |
| """ | |
| save a note to a local file | |
| Args: | |
| note: the text note to save | |
| """ | |
| with open("note.txt", "a") as f: | |
| f.write(note + "\n") | |