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 agent mode to Continue #4754

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

Conversation

Yurzs
Copy link
Contributor

@Yurzs Yurzs commented Mar 21, 2025

🚨 DO NOT REVIEW YET 🚨
Add a switch to toggle between chat and agent modes in the chat window.

  • extensions/vscode/src/extension/VsCodeMessenger.ts:

    • Handle messages related to switching between chat and agent modes.
    • Implement logic to reset the current window with user confirmation and cancel the current response generation process.
    • Add logic to apply changes directly to files in agent mode and display a progress bar in the chat window.
  • gui/src/components/Footer.tsx:

    • Add UI elements for toggling between chat and agent modes.
    • Implement logic to reset the current window and cancel the response generation process when switching modes.
    • Add a list of edited files during the agent session with options to accept, reject, or diff changes.
    • Implement logic to handle accepting, rejecting, and diffing changes made by the model.

Add a switch to toggle between chat and agent modes in the chat window.

* **`extensions/vscode/src/extension/VsCodeMessenger.ts`**:
  - Handle messages related to switching between chat and agent modes.
  - Implement logic to reset the current window with user confirmation and cancel the current response generation process.
  - Add logic to apply changes directly to files in agent mode and display a progress bar in the chat window.

* **`gui/src/components/Footer.tsx`**:
  - Add UI elements for toggling between chat and agent modes.
  - Implement logic to reset the current window and cancel the response generation process when switching modes.
  - Add a list of edited files during the agent session with options to accept, reject, or diff changes.
  - Implement logic to handle accepting, rejecting, and diffing changes made by the model.
@Yurzs Yurzs requested a review from a team as a code owner March 21, 2025 14:25
@Yurzs Yurzs requested review from sestinj and removed request for a team March 21, 2025 14:25
Copy link

netlify bot commented Mar 21, 2025

Deploy Preview for continuedev canceled.

Name Link
🔨 Latest commit 2cbb420
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/67dd76d779dc7a0008f93667

@Yurzs Yurzs marked this pull request as draft March 21, 2025 14:26
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.

1 participant