Răsfoiți Sursa

fix: adjust list tool prompt to handle cwd better (#3115)

Aiden Cline 4 luni în urmă
părinte
comite
fd70b9b057
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      packages/opencode/src/tool/ls.txt

+ 1 - 1
packages/opencode/src/tool/ls.txt

@@ -1 +1 @@
-Lists files and directories in a given path. The path parameter must be an absolute path, not a relative path. You can optionally provide an array of glob patterns to ignore with the ignore parameter. You should generally prefer the Glob and Grep tools, if you know which directories to search.
+Lists files and directories in a given path. The path parameter must be absolute; omit it to use the current workspace directory. You can optionally provide an array of glob patterns to ignore with the ignore parameter. You should generally prefer the Glob and Grep tools, if you know which directories to search.