Skip to content

Bug: AI Text Generator Block Removes Prompt Values with Similar Names #9884

Open
@Torantulino

Description

@Torantulino

Bug Description

When using the AI Text Generator block in the AutoGPT Platform, attempting to set prompt values with similar names (e.g., 'PR-Title' and 'PR-Title-test') results in the second value being instantly removed upon typing the duplicate substring. This issue restricts users from specifying prompt variables whose names overlap, which can be important for thorough testing and differentiating prompt roles.

Steps to Reproduce:

  1. In the AI Text Generator block, attempt to add multiple prompt values.
  2. Set one prompt value to 'PR-Title'.
  3. Attempt to set another prompt value to 'PR-Title-test'.
  4. Observe that the second value is immediately removed if its name overlaps with the existing one.

Expected Behavior:
Users should be able to define multiple prompt values with unique names, even if one is a substring of another (e.g., 'PR-Title' and 'PR-Title-test'), without the platform removing the new value. However they still should not be able to provide duplicate names.

Attachment:
Screen recording provided by user.

Category:

  • Bug Report
  • User Interface: Layout, design, or navigation issues

This Linear ticket was written by an Autonomous Agent running on the AutoGPT Platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplatform/frontendAutoGPT Platform - Front end

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions