Skip to content

Commit c4ae9a8

Browse files
authored
server: improve tools, remove apply_diff (#25498)
* server: improve tools, remove apply_diff * improve edit tool * add tools_io abstraction * add tools_io_basic * fix build * move utils to class member * add const
1 parent 1b9691b commit c4ae9a8

5 files changed

Lines changed: 753 additions & 328 deletions

File tree

common/arg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3036,7 +3036,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
30363036
{"--tools"}, "TOOL1,TOOL2,...",
30373037
"experimental: whether to enable built-in tools for AI agents - do not enable in untrusted environments (default: no tools)\n"
30383038
"specify \"all\" to enable all tools\n"
3039-
"available tools: read_file, file_glob_search, grep_search, exec_shell_command, write_file, edit_file, apply_diff, get_datetime",
3039+
"available tools: read_file, file_glob_search, grep_search, exec_shell_command, write_file, edit_file, get_datetime",
30403040
[](common_params & params, const std::string & value) {
30413041
params.server_tools = parse_csv_row(value);
30423042
}

0 commit comments

Comments
 (0)