Skip to content

Commit d1a2b62

Browse files
authored
fix: update fsWrite spec specify absolute path only (#1008)
1 parent 990aa94 commit d1a2b62

File tree

1 file changed

+1
-2
lines changed
  • server/aws-lsp-codewhisperer/src/language-server/agenticChat/tools

1 file changed

+1
-2
lines changed

server/aws-lsp-codewhisperer/src/language-server/agenticChat/tools/fsWrite.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,7 @@ export class FsWrite {
307307
type: 'string',
308308
},
309309
path: {
310-
description:
311-
'Path to a file, e.g. `/path/to/repo/file.py`. If you want to access a path relative to the current workspace, use relative paths e.g. `./src/file.py`.',
310+
description: 'Absolute path to file or directory, e.g. `/repo/file.py` or `/repo`.',
312311
type: 'string',
313312
},
314313
},

0 commit comments

Comments
 (0)