Azure-Samples / Azure-Samples/agentic-app-with-fabric
launcher.py failing due to missing agent_framework module
- Dominant language
- TSQL
- Stars
- 87
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
The latest version of the maf_fabric_sql branch has a bug when trying to run the launcher.py.
(venv) PS C:\Users\israeloros\Documents\Learning\Azure\Insiders\vteam\sql-agentic-app-with-fabric\backend> python launcher.py
[0] Initializing database connection...
[ConnectionManager] Using cached credentials
✅ Database authentication successful
[1] Initializing services...
Error in combined launcher: No module named 'agent_framework'
Services stopped.
Upon further investigation, the issue is that the provided requirements.txt file does not contain the **agent-framework** module. The error seems to be generated while importing the banking_app.py module in the launcher.py, because the banking_app.py has the following two lines:
from agent_framework import ChatAgent
from agent_framework.azure import AzureOpenAIChatClient
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with requirements.txt and the imports in banking_app.py, then run launcher.py in a fresh virtual environment to reproduce the missing-module error. Done means the declared dependencies install successfully and launcher.py proceeds past service initialization without the agent_framework import failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100