Skip to content

Custom agent selection reverts to Default agent mid-session #4047

Description

@AliSmith95

Description
When starting a session with a specific custom agent explicitly selected for the initial prompt, the agent selection reverts to the Default agent as the session progresses (during subsequent reasoning/turns).

Steps to reproduce

  1. Start a new session/kickoff prompt with a specific custom agent selected.
  2. Observe the initial prompt runs under the selected agent.
  3. As the conversation continues and further thinking/turns happen, the session shows/reverts to the 'Default agent'.

Expected behavior
The explicitly selected custom agent should remain active for the duration of the session (or at least persist across turns) unless the user explicitly changes it.

Actual behavior
Agent selection reverts to Default agent after the initial prompt.

Additional context
Reported via Copilot CLI session. Unclear whether this is a UI display issue (mislabeling) or an actual functional reversion of agent config underneath.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions