Skip to content

the latest versions of autogenstudio and autogen-agentchat are not compatible. #7173

@XinHuang98

Description

@XinHuang98

What happened?

Describe the bug
When attempting to install autogen-agentchat==0.7.5 in an environment that has autogenstudio==0.4.2.2 installed, a version conflict error occurs. The autogenstudiopackage requires autogen-agentchat<0.6 and autogen-core<0.6, but the specified version (0.7.5) of autogen-agentchat(and its corresponding autogen-core) is 0.7.5, which is outside the compatible range for the installed version of autogenstudio. This prevents the use of the newer autogen-agentchat library due to dependency constraints imposed by autogenstudio

To Reproduce
pip install autogenstudio==0.4.2.2
pip install autogen-agentchat==0.7.5

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
autogen-ext 0.5.7 requires autogen-core==0.5.7, but you have autogen-core 0.7.5 which is incompatible.
autogenstudio 0.4.2.2 requires autogen-agentchat<0.6,>=0.4.9.2, but you have autogen-agentchat 0.7.5 which is incompatible.
autogenstudio 0.4.2.2 requires autogen-core<0.6,>=0.4.9.2, but you have autogen-core 0.7.5 which is incompatible.

Expected behavior
It is expected that the latest versions of autogenstudio and autogen-agentchat would be compatible.

Screenshots

NotImplementedError: Tried to load component <class 'autogen_agentchat.agents._assistant_agent.AssistantAgent'> which is on version 2 with a config on version 1 but _from_config_past_version is not implemented

Image

Which packages was the bug in?

AutoGen Studio (autogensudio)

AutoGen library version.

Python 0.7.5

Other library version.

No response

Model used

No response

Model provider

None

Other model provider

No response

Python version

3.10

.NET version

None

Operating system

None

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions