Skip to content

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

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

Open
Torantulino opened this issue Apr 26, 2025 — with Linear · 0 comments · May be fixed by #9896
Open

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

Torantulino opened this issue Apr 26, 2025 — with Linear · 0 comments · May be fixed by #9896
Labels
bug Something isn't working platform/frontend AutoGPT Platform - Front end

Comments

Copy link
Member

Torantulino commented Apr 26, 2025

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.

@Torantulino Torantulino added bug Something isn't working platform/frontend AutoGPT Platform - Front end labels Apr 26, 2025 — with Linear
@chojuninengu chojuninengu linked a pull request Apr 29, 2025 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform/frontend AutoGPT Platform - Front end
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant