Remove echo.js tool as it is no longer needed for input handling and response generation. This simplifies the codebase by eliminating unused functionality.
This commit is contained in:
14
tools/read_file.js
Normal file
14
tools/read_file.js
Normal file
@@ -0,0 +1,14 @@
|
||||
const virtual_chroot = '/home/seb/src/aiTools/tmp';
|
||||
|
||||
export default {
|
||||
type: "function", name: "read_file", description: "read a file", strict: true,
|
||||
parameters: {
|
||||
type: "object", required: ["path","linesToSkip","linesToRead"],additionalProperties: false, properties: {
|
||||
path: { type: "string", description: "The path to the file to read.",},
|
||||
linesToSkip: { type: "number", description: "The number of lines to skip. Use 0 to read from the beginning.",},
|
||||
linesToRead: { type: "number",description: "1-400 The number of lines to read. Use 0 or more than 400 to read 400 lines.",}
|
||||
},},};
|
||||
|
||||
export async function run() {
|
||||
return `read_file error (not implemented)`
|
||||
}
|
||||
Reference in New Issue
Block a user