Skip to content

Commit f52562b

Browse files
Align remaining hosted-agent dependency files with slim package pattern (#580)
1 parent a8d0c85 commit f52562b

5 files changed

Lines changed: 10 additions & 11 deletions

File tree

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# `agent-framework[foundry]` is required because main.py imports
2-
# `from agent_framework.foundry import FoundryChatClient`. In 1.3+ the
3-
# foundry submodule is an optional extra; installing the bare package
4-
# leaves agent_framework.foundry unimportable and the container crashes
5-
# at startup so /readiness never returns 200 -> 424 session_not_ready.
6-
agent-framework[foundry]>=1.2.2
1+
# Use the narrow Foundry subpackages to keep dependencies light.
2+
agent-framework-foundry
73
agent-framework-foundry-hosting
4+
mcp<2,>=1.24.0
85
httpx
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
agent-framework>=1.2.2
1+
# Use the narrow Foundry subpackages to keep dependencies light.
2+
agent-framework-foundry
23
agent-framework-foundry-hosting

samples/python/hosted-agents/agent-framework/responses/12-foundry-skills/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ agent-framework-foundry
33
agent-framework-foundry-hosting
44
mcp<2,>=1.24.0
55
azure-ai-projects
6-
mcp>=1.24.0

samples/python/hosted-agents/agent-framework/responses/14-browser-automation-agent/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ agent-framework-foundry>=1.2.2,<1.3
33
agent-framework-foundry-hosting>=1.0.0a260429,<1.1
44
azure-identity>=1.19.0
55
httpx>=0.28.0
6-
mcp>=1.24.0,<2
6+
mcp<2,>=1.24.0
77
pydantic>=2.0.0
88
python-dotenv>=1.0.0
99
websockets>=14.0
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
agent-framework>=1.2.2
2-
agent-framework-foundry-hosting
1+
# Use the narrow Foundry subpackages to keep dependencies light.
2+
agent-framework-foundry
3+
agent-framework-foundry-hosting
4+
mcp<2,>=1.24.0

0 commit comments

Comments
 (0)