-
Notifications
You must be signed in to change notification settings - Fork 186
Description
Given two subdir, test and test2. If I'm currently in test2 and start the agent (e.g. using command mini-agent) with workspace test. The program will execute at the test2 directory instead of in test directory.
e.g.
(mini-agent) D:\uv\project\lwy\test2>mini-agent --workspace ../test
You › output the current directory and touch some test python program in this directory.
╭──────────────────────────────────────────────────────────╮
│ 💭 Step 1/100 │
╰──────────────────────────────────────────────────────────╯
🧠 Thinking:
The user wants me to:
- Output the current directory
- Create a test Python program in this directory
I can do both of these using bash commands. Let me execute them.
🤖 Assistant:
I'll help you with both tasks. Let me first show the current directory and then create a test Python program.
🔧 Tool Call: bash
Arguments:
{
"command": "pwd"
}
✓ Result:
Path
D:\uv\project\lwy\test2
This will lead to catastrophic damage (in my case, directly removes my .venv under Mini-agent :) )