microsoft / autogen

A programming framework for agentic AI 🤖
https://microsoft.github.io/autogen/
Creative Commons Attribution 4.0 International
35.16k stars 5.09k forks source link

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

Open thinkall opened 8 months ago

thinkall commented 8 months ago

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

gagb commented 8 months ago

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

victordibia commented 8 months ago

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.