Closed
Description
Is there an existing issue for the same bug?
- I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
- I have checked the existing issues.
Describe the bug
I'm asking CodeAct to repeatedly switch between editing two related files. Often File A is open, then CodeAct sends an edit
command intended for File B. This usually happens when I issue a new instruction.
It'd be neat to show/emphasize the currently open file in CodeAct's prompt.
Side note: maybe we should just stop making open
a thing, and put filenames directly into the commands? The agent has to look back over previous commands to determine current state, instead of just having a deterministic instruction it can write.
Current Version
Main, as of `0ecba83e53c6f2abfb0fdbaf134842a0298234f6`
Installation and Configuration
docker run
Model and Agent
gpt-4-turbo, CodeAct
Reproduction Steps
repeatedly prompt codeact to edit different files
Logs, Errors, Screenshots, and Additional Context
