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

[Q] Difference between /ask and /code mode in multiprocessing #2207

Open
EugeneChoi4 opened this issue Oct 30, 2024 · 3 comments
Open

[Q] Difference between /ask and /code mode in multiprocessing #2207

EugeneChoi4 opened this issue Oct 30, 2024 · 3 comments
Labels
question Further information is requested

Comments

@EugeneChoi4
Copy link

Issue

Hello, I am working on a project that utilizes Aider to launch multithreaded aider processes. Using the default /code mode has worked fine for us, but after trying to use /ask mode, we seem to get an error with the multiprocessing serialization. Would the ask mode contain any non-pickleable functions that could be causing this?

Version and model info

Aider v0.60.0 Model: gpt-4o-mini/gpt-4o

@paul-gauthier
Copy link
Collaborator

Thanks for trying aider and filing this issue.

Sorry, I can't think of any salient difference. It's just a different prompt.

This is well outside the supported scope of scripting aider. It would be difficult for me to help debug.

@paul-gauthier paul-gauthier added the question Further information is requested label Oct 31, 2024
@EugeneChoi4
Copy link
Author

Could you possibly point me towards where in the code the the two prompts are functionally being treated differently?

@paul-gauthier
Copy link
Collaborator

This is the AskCoder:

https://github.com/Aider-AI/aider/blob/main/aider/coders/ask_coder.py

Depends which edit format you are using in "code" mode. But it would be one of the other _coder.py files.

You'll note that the AskCoder actually has none of its own code, while the others do.

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

No branches or pull requests

2 participants