d1c11b41d8
Lift tool description out to constant to reduce clutter
2023-11-27 05:21:41 +00:00
2f6c8006d0
Ranamed modify_file's 'insert' operation to 'insert_before'
2023-11-27 05:21:41 +00:00
5c1f7e2594
Add modify_file tool
2023-11-27 05:21:41 +00:00
b89cecf89e
Adjust read_file so it returns line numbers
2023-11-27 05:21:41 +00:00
bf9a80e336
Small fixes
2023-11-27 05:21:41 +00:00
07cc8306c1
Add read_file
and write_file
tools
...
Also improve `read_dir` description, and make it skip hidden files
2023-11-27 05:21:41 +00:00
4ae5c5e717
Adjust read_dir description and return value
2023-11-27 05:21:41 +00:00
5ff763ecda
Only allow read_dir (and other file access) within current working dir
...
Hopefully, anyway :)
2023-11-27 05:21:41 +00:00
bf1f23b1d6
Add initial support for tools
...
So far only supported on the non-streaming endpoint.
Added the `read_dir` tool for reading contents from paths relative to the
current working directory.
2023-11-27 05:21:41 +00:00