Failed container app start due to imports
Launching the app based on the environment variable APP_MODE... Launching app with agents (semantic_kernel_app.py)... INFO: Started server process [893] INFO: Waiting for application startup. ERROR:root:Error during setup: 'AgentsOperations' object has no attribute 'get_agent' ERROR: Traceback (most recent call last): File "/mnt/repo/src/backend/src/semantic_kernel_app.py", line 212, in lifespan await orchestrator.create_agent_group_chat() File "/mnt/repo/src/backend/src/semantic_kernel_orchestrator.py", line 317, in create_agent_group_chat created_agents = await self.initialize_agents() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/repo/src/backend/src/semantic_kernel_orchestrator.py", line 255, in initialize_agents triage_agent_definition = await self.client.agents.get_agent(self.agent_ids["TRIAGE_AGENT_ID"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'AgentsOperations' object has no attribute 'get_agent'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/starlette/routing.py", line 694, in lifespan async with self.lifespan_context(app) as maybe_state: ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/contextlib.py", line 210, in aenter return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "/mnt/repo/src/backend/src/semantic_kernel_app.py", line 224, in lifespan raise HTTPException(status_code=500, detail="Internal Server Error") fastapi.exceptions.HTTPException: 500: Internal Server Error
ERROR: Application startup failed. Exiting.
App was deployed with devcontainer following instructions