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:
16
tools/ripgrep.js
Normal file
16
tools/ripgrep.js
Normal file
@@ -0,0 +1,16 @@
|
||||
const virtual_chroot = '/home/seb/src/aiTools/tmp';
|
||||
|
||||
export default {
|
||||
type: "function", name: "ripgrep", strict: true,
|
||||
description: "ripgrep (rg) search ( rg pattern -g filePattern | head -200) , always limited to 200 lines",
|
||||
parameters: {
|
||||
type: "object", required: ["pattern","filePattern","n_flag","i_flag"], additionalProperties: false, properties: {
|
||||
pattern: {type: "string", description: 'The pattern to search for.'},
|
||||
filePattern: { type: "string", description: "'*.js' for only js files, '!*.log' for all files except log files , '' for all files"},
|
||||
n_flag: { type: "boolean",description: "show line numbers."},
|
||||
i_flag: { type: "boolean",description: "case insensitive search."}
|
||||
},},};
|
||||
|
||||
export async function run(args) {
|
||||
return `ripgrep error (not implemented)`
|
||||
}
|
||||
Reference in New Issue
Block a user