File context broken, does not refresh prompt context on edits
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with the JetBrains plugin's Agent-mode file-context and chat request flow, since no specific files or tests are named. Reproduce the behavior by adding a file to the context, requesting an edit, then checking whether the next request sends the updated file contents. Done means edits are refreshed in the model context and later requests can locate and modify the changed sections without manually pasting the file.
Written by the indexing model from the issue text.
Description
What happened?
Latest version that introduced the Agent mode broke the file context in the chat.
What happens is I add a file to the context, so the model can see it.
I request an edit, say add a button to a website and it very fast becomes clear it doesnt see these edits going forward.
For example if I request it remove the button again, it is refusing to do so and requests me pasting the current version of the files into chat or just makes up stuff, typically with wrong whitespaces leading to the edit blocks in the frontend not finding the referenced sections. When I manual paste the file in the chat the edit blocks work fine.
This was working in pretty much all previous versions and seems to be independent to what model I select so not a model quality issue.
It seems very clear that only initial version of files are being transmitted to the model.
I am going to attempt to somehow roll back the plugin because it is completely unreliable now or use another for the time being
Relevant log output or stack trace
Steps to reproduce
No response
CodeGPT version
3.7.0-241.1
Operating System
None
- Dominant language
- Kotlin
- Stars
- 1.9k
- Forks
- 401
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from carlrobertoh/ProxyAI
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
carlrobertoh/ProxyAI#1250 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
carlrobertoh/ProxyAI#1233 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
carlrobertoh/ProxyAI#1203 · 1 reaction ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
carlrobertoh/ProxyAI#1160 · 2 reactions ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
carlrobertoh/ProxyAI#1068 ·
All issues in carlrobertoh/ProxyAI
Similar issues
-
Location search keeps showing stale "Open-Meteo can't find ..." message after clearing search queryOpenBug Needs review
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
breezy-weather/breezy-weather#3082 ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
wangzan101/Mika#1033 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
commons-app/apps-android-commons#7486 ·
Maintainers usually reply within 1 day
-
area: ci area: local-media area: startup area: ui platform: bilibili platform: netease platform: youtube status: needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
cwuom/NeriPlayer#794 ·
Maintainers usually reply within 1 day
-
area:android area:ui bug priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
meraxes89/streamify-apk#449 ·
Maintainers usually reply within 1 day