Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to include files / multi-turn aider #3

Open
grrowl opened this issue Nov 20, 2024 · 1 comment
Open

How to include files / multi-turn aider #3

grrowl opened this issue Nov 20, 2024 · 1 comment

Comments

@grrowl
Copy link

grrowl commented Nov 20, 2024

I set up a simple issue and tagged it, but it appears Aider does "one shot" and returns without editing files.

Scanning repo: 100%|██████████| 569/569 [00:03<00:00, 151.62it/s]
To implement this feature, we'll likely need to modify files related to         
challenge/course perks display and access control. Based on the file summaries  
provided, I don't see the specific files that would handle challenge perks      
visibility.                                                                     
I would need to see and potentially modify files like:                          
 1 The component that displays challenge perks                                  
 2 Any authorization rules related to challenge access                          
 3 The API route that serves challenge perk data                                
Could you please add the following files to the chat (if they exist):           
 1 Any files in app/(modules)/learn/components/ that handle displaying challenge
   perks                                                                        
 2 The relevant API router file in server/api/routers/ that handles             
   challenge/course data                                                        
 3 Any authorization rules in utils/access/ specific to challenges              
Once you share these files, I can propose the specific changes needed to        
restrict perk visibility to enrolled builders and challenge owners.             
Tokens: 4.3k sent, 179 received. Cost: $0.02 message, $0.02 session.
Everything up-to-date

And on PR creation:

RequestError [HttpError]: Validation Failed: {"resource":"PullRequest","code":"custom","message":"No commits between main and feature/aider-challenge-perks-restrict"}
Error: Unhandled error: HttpError: Validation Failed: {"resource":"PullRequest","code":"custom","message":"No commits between main and feature/aider-challenge-perks-restrict"}

Is there a way to enable multi-turn until resolution in Aider in this action?

@mirrajabi
Copy link
Owner

Hi @grrowl, I thought I responded a week ago but apparently I forgot to press send!

I have a few questions which may help finding out what's going on:

  • Which model are you using?
  • What happens if you untag (possibly modify your issue description/prompt a bit) and then re-tag?
  • Are the paths that aider mentions (e.g. server/api/routers/, app/(modules)/learn/components/ matching your project or is it just making things up?

Multi-turn is not possible now unfortunately. I would like to add it in a way that you could respond to it with comments but unfortunately I'm busy with other projects right now. Untagging, modifying issue and then re-tagging is the only possible way of simulating multi-turn edits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants