continue
continue copied to clipboard
Git Diff ("@diff" ) could not get the diff context
Before submitting your bug report
- [ ] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] 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: macOS 14.4.1
- Continue: 0.0.45
- IDE: IntelliJ IDEA 2024.1 (241.14494.240)
Description
When I'm trying to use the @diff to try to add the git diff context, it alway return empty.
Here is the request received from the LLM service:
[2024-04-29 17:09:50.666] [INFO] Received POST request to /v1/chat/completions with body: { "messages": [ { "role": "user", "content": "
git diff\n\n\n\nGit Diff test" } ], "model": "deepseek-7b", "max_tokens": 8192, "stream": true }
To reproduce
- Open a code repo with IntelliJ IDEA
- Make some change of the code
- Open Continue and input
@diff test
Log output
No Log output