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

Add file name like "}" #2847

Closed
fridrisnew opened this issue Jan 12, 2025 · 6 comments
Closed

Add file name like "}" #2847

fridrisnew opened this issue Jan 12, 2025 · 6 comments
Labels
question Further information is requested stale

Comments

@fridrisnew
Copy link

Issue

Aider almost always tries to add the odd file "{" when working on php files :
Add } to the chat? (Y)es/(N)o/(D)on't ask again [Yes]:

obraz

Version and model info

Aider v0.71.1
Main model: gemini/gemini-exp-1206 with architect edit format
Editor model: gemini/gemini-exp-1206 with whole edit format
Weak model: gemini/gemini-1.5-flash
Git repo: .git with 747 files
Repo-map: using 1024 tokens, auto refresh

on qwen models is the same :

Aider v0.71.1
Main model: sambanova/QwQ-32B-Preview with architect edit format
Editor model: sambanova/Qwen2.5-72B-Instruct with editor-whole edit format
Weak model: sambanova/Meta-Llama-3.1-70B-Instruct
Git repo: .git with 747 files
Repo-map: disabled
───────────────────────────────────────────────────────────────────────────────

@fridrisnew fridrisnew changed the title Add file name like "{" Add file name like "}" Jan 12, 2025
@paul-gauthier
Copy link
Collaborator

Thanks for trying aider and filing this issue.

Can you share more of the output that led to this?

@paul-gauthier
Copy link
Collaborator

Also, why do you have a file named } ??

@fridrisnew
Copy link
Author

I have never had a file named “}” I think it is a character that closes a class or method in Php lang, returned from the API. Below is an example :

obraz

What other information can I provide , to help ?

@fridrisnew
Copy link
Author

Please note that in the attached code, in the screenshot, the “}” character closing the “if” clause is precisely missing

@github-actions github-actions bot added the question Further information is requested label Jan 13, 2025
Copy link

I'm labeling this issue as stale because it has been open for 2 weeks with no activity. If there are no additional comments, I will close it in 7 days.

Note: A bot script made these updates to the issue.

@github-actions github-actions bot added the stale label Jan 27, 2025
Copy link

github-actions bot commented Feb 3, 2025

I'm closing this issue because it has been stalled for 3 weeks with no activity. Feel free to add a comment here and we can re-open it. Or feel free to file a new issue at any time.

Note: A bot script made these updates to the issue.

@github-actions github-actions bot closed this as completed Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

2 participants