Skip to content

Custom Chat Agent Mode Reset on Edit #259975

Closed

Description

Version: 1.103.0-insider (Universal)
Commit: 05ca6dd1bd6690aa2be81cc940ec308e5acc1c3d
Date: 2025-08-05T15:44:58.613Z
Electron: 37.2.3
ElectronBuildId: 12035395
Chromium: 138.0.7204.100
Node.js: 22.17.0
V8: 13.8.500258-electron.0
OS: Darwin arm64 25.0.0


🧪 Steps to Reproduce:

  1. Create and select a custom chat mode agent (e.g., example-agent).
  2. Send a message in the chat using the selected custom agent.
  3. Click the sent message to ✎ edit.
  4. Observe that the edit box's mode dropdown resets to one of the default modes (e.g., Ask, Edit, or Agent) instead of preserving the selected custom agent.
  5. Without making any edits, close the edit box.
  6. Observe that the mode dropdown for the new message also resets.

❌ Observed Behavior:

  • ✅ Bug 1: The edit box resets to a built-in chat mode, not the one the original message was sent with. If the edit is submitted, it is incorrectly sent using this new (and wrong) agent.
  • ✅ Bug 2: After canceling the edit, the new message dropdown remains incorrectly changed, and any new message is sent using the wrong agent (a built-in one instead of the previously selected custom agent).

✅ Expected Behavior:

  • The agent selected during original message send should be preserved during edit and shown in the edit dropdown.
  • Canceling the edit should not alter the current chat mode agent selection.
  • Subsequent messages should continue using the previously selected custom agent unless manually changed.

Activity

  1. added
    chat-ext-issue
    on Aug 6, 2025
  2. removed
    chat-ext-issue
    on Aug 6, 2025
  3. nikhil-pandey commented on Sep 26, 2025

    @nikhil-pandey
    Author
  4. justschen commented on Dec 10, 2025

    @justschen
    Collaborator

    yes, we're aware of this one and are giving it a look this month!

  5. added
    bug
    ux
    on Dec 10, 2025
  6. garretwilson commented on Dec 21, 2025

    @garretwilson

    Because my earlier ticket #283829 got closed as a duplicate of this one, let me carry over some of that information.

    This bug different than but related to #283221 and #272117, and indirectly related to #281766 and #280071. In other words, editing a submitted prompt is a nightmare and adds a lot of frustration to the day.

    I cannot tell you how frustrating and infuriating this is, combined with these other bugs. Plus it burns through my credits, because every time I edit the prompt, something else breaks and I have to edit the prompt again. This is literally costing me money.

    Can you make an effort to fix this in the next release?

  7. garretwilson commented on Jan 9, 2026

    @garretwilson

    I think this has been fixed in v1.108!! 😍 I'll keep testing …

    Version: 1.108.0 (user setup)
    Commit: 94e8ae2b28cb5cc932b86e1070569c4463565c37
    Date: 2026-01-08T13:53:10.781Z
    Electron: 39.2.7
    ElectronBuildId: 12953945
    Chromium: 142.0.7444.235
    Node.js: 22.21.1
    V8: 14.2.231.21-electron.0
    OS: Windows_NT x64 10.0.26200
    
  8. added this to the 1.131.0 milestone on Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buguxverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions