Skip to content

Commit

Permalink
chore: sys.read: improve description (#834)
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Linville <[email protected]>
  • Loading branch information
g-linville authored Sep 3, 2024
1 parent 1ad818b commit 1d2b70c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/builtin/builtin.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var tools = map[string]types.Tool{
"sys.read": {
ToolDef: types.ToolDef{
Parameters: types.Parameters{
Description: "Reads the contents of a file",
Description: "Reads the contents of a file. Can only read plain text files, not binary files",
Arguments: types.ObjectSchema(
"filename", "The name of the file to read"),
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/testdata/TestToolsChange/call1.golden
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"function": {
"toolID": "sys.read",
"name": "read",
"description": "Reads the contents of a file",
"description": "Reads the contents of a file. Can only read plain text files, not binary files",
"parameters": {
"properties": {
"filename": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/tests/testdata/TestToolsChange/step1.golden
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"function": {
"toolID": "sys.read",
"name": "read",
"description": "Reads the contents of a file",
"description": "Reads the contents of a file. Can only read plain text files, not binary files",
"parameters": {
"properties": {
"filename": {
Expand Down

0 comments on commit 1d2b70c

Please sign in to comment.