Skip to content
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

AutoGen Studio 0.4.2: Copy-pasting in Tool Name field kicks user back and breaks editing #6055

Open
usag1e opened this issue Mar 21, 2025 · 2 comments

Comments

@usag1e
Copy link

usag1e commented Mar 21, 2025

What happened?

Describe the bug
When I copy-paste into the "Name" field of a tool within an agent in AutoGen Studio (0.4.2), I am kicked back to the agent editing window. After that, trying to re-edit the tool results in the tool's name being repeatedly appended to the top of the window, rendering the tool and agent uneditable (see screenshot below).

To Reproduce

  1. Create a new team in the AutoGen UI (Studio 0.4.2)
  2. Edit the default agent.
  3. Click to edit the default agent's "calculator" tool.
  4. Copy/paste using shortcuts (Ctrl+C / Ctrl+V) a new Python tool to replace the "calculator" tool.
  5. Then, try to copy-paste the name of the new tool to replace the name of the default tool.
  6. You should then be kicked back to the agent editing window. Note: This step is not consistently reproducible; you may need to attempt copy-pasting (Ctrl+C / Ctrl+V) in the "Name" field multiple times.
  7. Try to re-edit the tool. You should observe the tool's name being repeatedly appended to the top of the window, and the tool/agent becoming uneditable.

Expected behavior
Copy-pasting into the tool's "Name" field should update the name without kicking the user back to the agent editing window and without rendering the tool/agent uneditable.

Screenshots

Image

Additional context
The issue is temporarily resolved by saving the agent and reopening the editing window. All changes, including the copy-pasted tool name, are saved.

Which packages was the bug in?

AutoGen Studio (autogensudio)

AutoGen library version.

Python dev (main branch)

Python version

3.12

Operating system

Windows

@victordibia
Copy link
Collaborator

Thanks for posting @usag1e ,
Any chance you want to take a swing at a fix?
I am happy to help along the way!

@usag1e
Copy link
Author

usag1e commented Mar 23, 2025

Hi @victordibia, thanks!
While I'm not a developer (I have very basic knowledge), I'm more than willing to learn and help with this. Any pointers or resources would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants