Skip to content

Bug: Semantic Kernel project client breaks due to new beta package azure-ai-projects 2.0.0b1 #13362

@karpikpl

Description

@karpikpl

Describe the bug
When installing semantic kernel with pip semantic-kernel[azure]>=1.35 a new dependency with breaking changes is installed azure-ai-projects 2.0.0b1 that results in code failing.

    async for agent in client.agents.list_agents():
AttributeError: 'AgentsOperations' object has no attribute 'list_agents'

To Reproduce
Steps to reproduce the behavior:

  1. Install semantic-kernel[azure]>=1.35
  2. Use project client to list agents client.agents.list_agents()

Expected behavior
Semantic Kernel works in a stable way, like before 11/11 when beta package azure-ai-projects was released.

Platform

  • Language: Python
  • Source: semantic-kernel[azure]>=1.35
  • AI model: N/A
  • IDE: VS CODE
  • OS: Ubuntu WSL

Additional context
This has affected customers on production, when they rebuild their docker containers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions