mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
general rules should apply to whole project (#159)
* general rules should apply to whole project * Merge remote-tracking branch 'origin/main' into fix_eslint * lint fixes under server package
This commit is contained in:
parent
0510d06ecf
commit
133f39494e
4 changed files with 6 additions and 9 deletions
|
|
@ -257,10 +257,7 @@ export class LSTool extends BaseTool<LSToolParams, ToolResult> {
|
|||
|
||||
// Create formatted content for LLM
|
||||
const directoryContent = entries
|
||||
.map((entry) => {
|
||||
// More concise format for LLM
|
||||
return `${entry.isDirectory ? '[DIR] ' : ''}${entry.name}`;
|
||||
})
|
||||
.map((entry) => `${entry.isDirectory ? '[DIR] ' : ''}${entry.name}`)
|
||||
.join('\n');
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue