autogen icon indicating copy to clipboard operation
autogen copied to clipboard

[Bug][AutoGen Studio]: Update workflow won't update session info, neither the agents info

Open thinkall opened this issue 1 year ago • 1 comments

Describe the bug

When I create a session without setting the llm_config, it raises an error message saying that I need to config the llm_config. Then I go the build page and updated the workflow by adding API key to the model. However, the existing session still doesn't work, while I can create a new session with the same workflow and it works. image

Moreover, we can update agents info in the workflow, but it doesn't sync with the agents. Updated agents won't sync in the workflow either. It's a little bit confusing. If agents in the workflow is actually an "instance" of the agents in the "Agents" page, then it might be better that the agent names in the workflow reflect that.

Steps to reproduce

No response

Model Used

No response

Expected Behavior

No response

Screenshots and logs

No response

Additional Information

No response

thinkall avatar Mar 23 '24 04:03 thinkall

@thinkall, @victordibia is actively rewriting the DB layer to address this.

gagb avatar Mar 23 '24 23:03 gagb

Hi @thinkall ,

This is being worked on as part of a DB rewrite in this issue #1694 This should enable us link entities correctly. In the error/issue above, once a workflow is linked to a session, all actions in the session should use the most updated version of the workflow.

victordibia avatar Mar 25 '24 16:03 victordibia

Can you please try reproing your issues in 0.4 and create a new issue if it is still a problem for you. Thanks!

jackgerrits avatar Feb 03 '25 16:02 jackgerrits