gptscript icon indicating copy to clipboard operation
gptscript copied to clipboard

Append sys.append builtin

Open njhale opened this issue 1 year ago • 0 comments

Add a new built-in tool called sys.append that appends content to a file instead of truncating it.

Resolves https://github.com/gptscript-ai/gptscript/issues/24

I think this could also be implemented in sys.write by adding an extra parameter to indicate that an append is desired. Interested to hear if folks think that's a better approach.

njhale avatar Feb 21 '24 23:02 njhale