Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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