Skip to content

agent experience - tool calls have different directory requriements #980

@acoliver

Description

@acoliver

x Shell {"command":"npm run format","description":"Run the project's formatting script to ensure code style compliance after README edits.","directory":"/Users/acoliver/projects/llxprt/branch-1/llxprt-code"}

Directory cannot be absolute. Please refer to workspace directories by their name.
  • but other tools require an absolute path.

For nemotron 3 it took forever to see that the issue was the directory and then

Directory '.' is not a registered workspace directory.

I feel like one of two things needs to happen:

  1. Standardize on absolute or not absolute
  2. Autotranslate any absoulute to workspace directories without error for tools that take workspace directories.

I feel like the absolute thing in the editor was a workaround for models (like gemini) that tend to create turducken code like used to happen in Cursor (where there is a src/mysrc/mything.ts and then src/src/mysrc/mything.ts)

It may or may not still be a good practice. I feel like having some other commands then reject it seems a bit off...

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions