Add copy-paste mode with cp: prefix for web UI interaction#276
Add copy-paste mode with cp: prefix for web UI interaction#276dwash96 merged 16 commits intocecli-dev:v0.90.4from
Conversation
…the copy-paste-no-api branch of https://github.com/ther0bster/aider.git
|
Oh man, I am not anti this concept at all but could you actually refactor it such that it's a coder class in aider/coders and add the relevant overriding logic on when to call the relevant model perhaps. I'm also super curious as to how this integrates with the TUI mode |
Co-authored-by: aider-ce (openai/gpt-5)
Co-authored-by: aider-ce (openai/gpt-5)
Co-authored-by: aider-ce (openai/gpt-5.2)
Co-authored-by: aider-ce (openai/gpt-5.2)
Co-authored-by: aider-ce (openai/gpt-5.2)
Co-authored-by: aider-ce (openai/gpt-5.2)
Co-authored-by: aider-ce (openai/gpt-5.2)
Co-authored-by: aider-ce (openai/gpt-5.2)
|
Thanks, I appreciate the feedback. I've made changes as you suggested. Here’s how CopyPasteCoder behaves in the TUI, and how it differs from the --copy-paste CLI option. Using a cp: model (e.g., cp:openai/gpt-5.2)
Using the --copy-paste CLI option (clipboard watcher for input)
How they differ and how they combine
|
|
Alright nice, my 2 last (very minor!) requests since I appreciate you separating most of the effects of this out from the rest of the code base:
These 2 changes and I'm fine with this for 0.90.4 |
|
This is useful for in what situations? What would this be documented? |
|
Thanks, I've made these changes. The use case is when your only LLM access is via a web browser frontend. |
Oh nice!! Sorry I'm very good at impersonating a dumb noob (ask @dwash96)... this is a bit of project wide soft spot. It would be great to say when you would use this feature and a bit more on what to expect. Don't need "War and Peace", but is it possible to expand on "Enable automatic copy/paste of chat between aider and web UI". eg "Enable automatic copy/paste of chat between aider and web UI (Useful when your LLM access is via a browser)". But what does "automatic" mean exactly? I feel like |
This mirrors my feelings at #256 (comment) |
Add copy-paste mode with cp: prefix for web UI interaction, based on the copy-paste-no-api branch of https://github.com/ther0bster/aider.git
See also Aider-AI#3479