Feat: add appendFile tool - #51
Conversation
|
@abusnitsky is attempting to deploy a commit to the houssemeddinechaouch's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
👋 Thanks for opening this PR @abusnitsky! Before we review, please make sure:
A maintainer will review it soon. 🙌 |
|
Hey @abusnitsky, found a bug before merging When appendFile is called on a non-existent file the Agent > TOOL {"name":"writeFile","args":...}-{"Reason":"..."} Two things to fix:
Fix those before I merge. Thanks! |
|
@HoussemEddineChaouch Done. |
ea3993a
into
HoussemEddineChaouch:main
What does this PR do?
Adds a new appendFile tool so the agent can append content to the end of an existing file instead of overwriting it.
This PR includes:
Type of change
How to test it
Start the CLI agent:
Create a test file with initial content:
Ask the agent to append content:
Verify content was appended, not overwritten:
Related issues
Closes #42