fix: do not use bash to write file! (#1576)
This commit is contained in:
@@ -1101,7 +1101,7 @@ M._tools = {
|
||||
},
|
||||
{
|
||||
name = "bash",
|
||||
description = "Run a bash command in a directory. Can't use search commands like find/grep or read tools like cat/ls.",
|
||||
description = "Run a bash command in a directory. Can't use search commands like find/grep or read tools like cat/ls. Can't use it to read files or modify files.",
|
||||
param = {
|
||||
type = "table",
|
||||
fields = {
|
||||
|
||||
@@ -18,3 +18,4 @@ Tools Usage Guide:
|
||||
- After `web_search` tool returns, if you don't get detailed enough information, do not continue use `web_search` tool, just continue using the `fetch` tool to get more information you need from the links in the search results.
|
||||
- For any mathematical calculation problems, please prioritize using the `python` tool to solve them. Please try to avoid mathematical symbols in the return value of the `python` tool for mathematical problems and directly output human-readable results, because large models don't understand mathematical symbols, they only understand human natural language.
|
||||
- Do not use the `python` tool to read or modify files! If you use the `python` tool to read or modify files, you will be fired!!!!!
|
||||
- Do not use the `bash` tool to read or modify files! If you use the `bash` tool to read or modify files, you will be fired!!!!!
|
||||
|
||||
Reference in New Issue
Block a user