fix(coding-agent): normalize @ path prefixes closes #1206
This commit is contained in:
@@ -1130,6 +1130,8 @@ export default function (pi: ExtensionAPI) {
|
||||
|
||||
Register tools the LLM can call via `pi.registerTool()`. Tools appear in the system prompt and can have custom rendering.
|
||||
|
||||
Note: Some models are idiots and include the @ prefix in tool path arguments. Built-in tools strip a leading @ before resolving paths. If your custom tool accepts a path, normalize a leading @ as well.
|
||||
|
||||
### Tool Definition
|
||||
|
||||
```typescript
|
||||
|
||||
Reference in New Issue
Block a user