Skip to content

Conversation

@extrawurst
Copy link
Collaborator

@extrawurst extrawurst commented Dec 15, 2023

Right now this is not optimized for long diffs.

TODO:

  • feed it less context if diff gets >4k
  • feed list of files touched first and then diffs and cut at 4k point
  • put behind feature flag
  • other rust crate for openai?
  • changelog
  • readme on how to configure
@extrawurst extrawurst marked this pull request as draft December 15, 2023 23:30
@vladejs
Copy link

vladejs commented Jun 17, 2024

Hi, I tested this on my Mac and noticed it works pretty good . How can we prioritise this? Also, I might help by adding docs on usage or helping trying different prompts.

@vladejs
Copy link

vladejs commented Jun 17, 2024

Current message output gets bigger with current prompt.

Screenshot 2024-06-17 at 1 30 26 p m

This is the default prompt used at jetbrains products which we can modify to our needs:

Avoid overly verbose descriptions or unnecessary details. Start with a short sentence in imperative form, no more than 50 characters long. Then leave an empty line and continue with a more detailed explanation. Write only one sentence for the first part, and two sentences at most for the detailed explanation. 
@richgrov
Copy link

Any plans to continue work on this? I'd be open to helping if not

@extrawurst
Copy link
Collaborator Author

I would appreciate that

@b-n b-n requested review from b-n and removed request for b-n February 24, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants