3859084fd8
Refine tool descriptions
2023-11-27 05:21:41 +00:00
a805c92131
Update file_insert_lines
...
Renamed `start_line` parameter to `position`
2023-11-27 05:21:41 +00:00
3b20e00330
Removed file_remove_lines in favor of a generalized file_replace_lines
2023-11-27 05:21:41 +00:00
8e262c4839
Replace modify_file with individual functions
...
- file_insert_lines
- file_replace_lines
- file_remove_lines
2023-11-27 05:21:41 +00:00
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