-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Labels
ide:jetbrainsRelates specifically to JetBrains extensionRelates specifically to JetBrains extensionide:vscodeRelates specifically to VS Code extensionRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on LinuxHappening specifically on Linux
Description
Before submitting your bug report
- I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- I'm not able to find a related conversation on GitHub discussions that reports the same bug
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Fedora Linux 42
- Continue version: 1.3.28 (vscode), 1.2.11 (vscode), 1.0.55 (IDEA)
- IDE version: 1.106.3 (vscode), 2025.2.6 (IDEA)
- Model: qwen3-coder:latest
- config:
name: Local Config
version: 1.0.0
schema: v1
models:
- name: qwen3-coder
provider: ollama
model: qwen3-coder
roles:
- chat
- edit
- apply
- rerank
- autocomplete
OR link to agent in Continue hub:Description
No response
To reproduce
Continue fails to explore project. when it tries to list files in the project it lists filesystem root.
simple steps to reproduce:
query in agent mode:
which is the main file in this project?
it will get toolcall like this
Continue listed files in .
but when clicked on the details it opens the window with root folder content
afs/
bin/
dev/
etc/
lib/
mnt/
opt/
run/
srv/
sys/
tmp/
usr/
var/
boot/
home/
proc/
root/
sbin/
lib64/
media/
lost+found/
it should not list files int root folder, it should only access files id current project folder.
reproducable both in VSCode and IntelliJ
Log output
last 100 lines of prompt.log
],
"properties": {
"query": {
"type": "string",
"description": "The search query to use. Must be the exact string to be searched or a valid ripgrep expression. Use regex with alternation (e.g., 'word1|word2|word3) or character classes to find multiple potential words in a single search."
}
}
}
},
"defaultToolPolicy": "allowedWithoutPermission",
"systemMessageDescription": {
"prefix": "To perform a grep search within the project, call the grep_search tool with the query pattern to match. For example:",
"exampleArgs": [
[
"query",
".*main_services.*"
]
]
},
"toolCallIcon": "MagnifyingGlassIcon"
}
],
"reasoning": false
}
Role: system
| <important_rules>
| You are in agent mode.
|
| If you need to use multiple tools, you can call multiple read-only tools simultaneously.
|
| Always include the language and file name in the info string when you write code blocks.
| If you are editing "src/main.py" for example, your code block should start with '
. src/main.py'
|
|
| For larger codeblocks (>20 lines), use brief language-appropriate placeholders for unmodified
. sections, e.g. '// ... existing code ...'
|
| However, only output codeblocks for suggestion and demonstration purposes, for example, when
. enumerating multiple hypothetical options. For implementing changes, use the edit tools.
|
| </important_rules>
Role: user
| which is the main file in this project?
Role: assistant
Tool call: {
"id": "tc_1bc23861-b384-46f5-94bb-ccb802d7b3b1",
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"dirPath\":\".\"}"
}
}
| Let me check the project structure to identify the main file. I'll look for common indicators like
. package.json, main.js, app.js, or index.js files.
Role: tool
Tool Call ID: tc_1bc23861-b384-46f5-94bb-ccb802d7b3b1
| afs/
| bin/
| dev/
| etc/
| lib/
| mnt/
| opt/
| run/
| srv/
| sys/
| tmp/
| usr/
| var/
| boot/
| home/
| proc/
| root/
| sbin/
| lib64/
| media/
| lost+found/
+0.5 Role: assistant
| Based on the filesystem structure you've shown, this appears to be a Linux filesystem root directory
+1.0 . (`/`) rather than a project directory with source code files.
+1.3 |
| The directories you're seeing are standard Linux filesystem directories:
+1.5 | - `bin/`, `sbin/` - essential system binaries
+1.8 | - `lib/`, `lib64/` - system libraries
+2.2 | - `etc/` - configuration files
+2.4 | - `usr/` - user binaries and files
+2.6 | - `var/` - variable data files
+2.9 | - `tmp/` - temporary files
+3.1 | - `home/` - user home directories
+3.3 | - `proc/` - virtual filesystem for process information
+3.6 |
| To identify a main file in a project, I would need to see the actual source code files (like `main.p
+4.1 . y`, `app.js`, `index.js`, `package.json`, etc.) rather than the system directories.
+4.6 |
| Could you please provide the actual project files or directory structure that contains your source c
+5.0 . ode?
+5.1 Success
Prompt Tokens: 323
Generated Tokens: 1520musickillerrus-ai, listenerri and olkovi
Metadata
Metadata
Assignees
Labels
ide:jetbrainsRelates specifically to JetBrains extensionRelates specifically to JetBrains extensionide:vscodeRelates specifically to VS Code extensionRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on LinuxHappening specifically on Linux
Type
Projects
Status
Todo