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

feat: use copy-paste instead of api #3480

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ther0bster
Copy link

Thanks for your work on aider, it's a truly amazing open-source project!

See #3479

Inpired by aider's copy-paste mode and Roo-Codes's Human Relay feature, I integrated a proof-of-concept --copy-paste-no-api mode into aider.

The --copy-paste-no-api mode allows using aider with a web ui only and without any api.

Why would anyone want to use this?

As already nicely explained in RooVetGit/Roo-Code#1267

  • aider works fully without api key
  • very useful for using aider at e.g. work where
    • sending code to api / hosting local ollama model is not allowed/possible
    • but using web ui like GitHub copilot is allowed
  • cost per token if often cheaper in web ui than in api
  • equivalent to aider's --copy-paste mode this should not violate ToS

As this is just a quick proof-of-concept implementation, I appreciate feedback on how such a feature can fit best within aider's architecture. The code has some rough edges, e.g. passing io to Models class.

Also, I'm confident someone will find a better name for this than --copy-paste-no-api.

To test this, check out the PR's branch and run aider with:

aider --copy-paste-no-api --model claude-3-7-sonnet-20250219

Here is a short screen recording demonstrating this feature

aider-copy-paste-no-api-final.mp4

@CLAassistant
Copy link

CLAassistant commented Mar 10, 2025

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

2 participants