Skip to content

[Bug] Renaming default built-in agent creates duplicate agent with original name #687

@Clawiee

Description

@Clawiee

Tags: bug, ui, agent
Quality Rating: ⭐ 7/10


Reporter: xiaoan

Description

When renaming a default built-in agent (such as "Morty"), the system automatically creates a new agent with the original name instead of just renaming the existing one.

Steps to Reproduce

  1. Go to the Agents page in Clawith platform
  2. Locate a default built-in agent (e.g., "Morty")
  3. Rename it to something else (e.g., "My Assistant")
  4. Observe the result

Expected Behavior

The agent should be renamed in-place. Only one agent should exist with the new name.

Actual Behavior

The original agent gets renamed, but a new agent with the original default name (e.g., "Morty") is automatically created. This results in duplicate agents.

Suggested Fix

The rename operation should update the existing agent's name without triggering the creation of a new default agent instance.

Additional Context

This is likely related to how the system handles default agent initialization. The renaming logic may be incorrectly triggering the default agent creation flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    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