agent-framework-foundry 1.10.1__tar.gz → 1.10.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/PKG-INFO +2 -2
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/agent_framework_foundry/_agent.py +8 -2
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/agent_framework_foundry/_memory_provider.py +1 -1
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/pyproject.toml +2 -2
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/LICENSE +0 -0
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/README.md +0 -0
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/agent_framework_foundry/__init__.py +0 -0
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/agent_framework_foundry/_chat_client.py +0 -0
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/agent_framework_foundry/_embedding_client.py +0 -0
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/agent_framework_foundry/_foundry_evals.py +0 -0
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/agent_framework_foundry/_oauth_helpers.py +0 -0
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/agent_framework_foundry/_to_prompt_agent.py +0 -0
- {agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/agent_framework_foundry/_tools.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-framework-foundry
|
|
3
|
-
Version: 1.10.
|
|
3
|
+
Version: 1.10.2
|
|
4
4
|
Summary: Microsoft Foundry integrations for Microsoft Agent Framework.
|
|
5
5
|
Author-email: Microsoft <af-support@microsoft.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -20,7 +20,7 @@ Requires-Dist: agent-framework-core>=1.11.0,<2
|
|
|
20
20
|
Requires-Dist: agent-framework-openai>=1.10.0,<2
|
|
21
21
|
Requires-Dist: aiohttp>=3.9,<4
|
|
22
22
|
Requires-Dist: azure-ai-inference>=1.0.0b9,<1.0.0b10
|
|
23
|
-
Requires-Dist: azure-ai-projects>=2.2.0,<
|
|
23
|
+
Requires-Dist: azure-ai-projects>=2.2.0,<2.4.0
|
|
24
24
|
Project-URL: homepage, https://aka.ms/agent-framework
|
|
25
25
|
Project-URL: issues, https://github.com/microsoft/agent-framework/issues
|
|
26
26
|
Project-URL: release_notes, https://github.com/microsoft/agent-framework/releases?q=tag%3Apython-1&expanded=true
|
{agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/agent_framework_foundry/_agent.py
RENAMED
|
@@ -94,7 +94,7 @@ class FoundryAgentOptions(OpenAIChatOptions, total=False):
|
|
|
94
94
|
Keyword Args:
|
|
95
95
|
extra_body: Additional request body values sent to the Responses API.
|
|
96
96
|
isolation_key: Isolation key used when lazily creating a hosted-agent
|
|
97
|
-
session through
|
|
97
|
+
session through the project's agent operations.
|
|
98
98
|
"""
|
|
99
99
|
|
|
100
100
|
extra_body: dict[str, Any]
|
|
@@ -758,7 +758,13 @@ class RawFoundryAgent(
|
|
|
758
758
|
|
|
759
759
|
create_session_kwargs["version_indicator"] = VersionRefIndicator(agent_version=version)
|
|
760
760
|
|
|
761
|
-
|
|
761
|
+
session_agents = cast(Any, self.client.project_client.agents)
|
|
762
|
+
create_session = getattr(session_agents, "create_session", None)
|
|
763
|
+
if create_session is None:
|
|
764
|
+
session_agents = cast(Any, self.client.project_client.beta.agents)
|
|
765
|
+
create_session = session_agents.create_session
|
|
766
|
+
|
|
767
|
+
service_session = await create_session(**create_session_kwargs)
|
|
762
768
|
agent_session_id = getattr(service_session, "agent_session_id", None)
|
|
763
769
|
if not isinstance(agent_session_id, str) or not agent_session_id:
|
|
764
770
|
raise ValueError("Hosted Foundry session creation did not return a non-empty agent_session_id.")
|
|
@@ -49,7 +49,7 @@ class FoundryProjectSettings(TypedDict, total=False):
|
|
|
49
49
|
class FoundryMemoryProvider(ContextProvider):
|
|
50
50
|
"""Foundry Memory context provider using the new ContextProvider hooks pattern.
|
|
51
51
|
|
|
52
|
-
Integrates
|
|
52
|
+
Integrates Microsoft Foundry Memory Store for persistent semantic memory,
|
|
53
53
|
searching and storing memories via the Azure AI Projects SDK.
|
|
54
54
|
|
|
55
55
|
Args:
|
|
@@ -4,7 +4,7 @@ description = "Microsoft Foundry integrations for Microsoft Agent Framework."
|
|
|
4
4
|
authors = [{ name = "Microsoft", email = "af-support@microsoft.com"}]
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
7
|
-
version = "1.10.
|
|
7
|
+
version = "1.10.2"
|
|
8
8
|
license-files = ["LICENSE"]
|
|
9
9
|
urls.homepage = "https://aka.ms/agent-framework"
|
|
10
10
|
urls.source = "https://github.com/microsoft/agent-framework/tree/main/python"
|
|
@@ -27,7 +27,7 @@ dependencies = [
|
|
|
27
27
|
"agent-framework-openai>=1.10.0,<2",
|
|
28
28
|
"aiohttp>=3.9,<4",
|
|
29
29
|
"azure-ai-inference>=1.0.0b9,<1.0.0b10",
|
|
30
|
-
"azure-ai-projects>=2.2.0,<
|
|
30
|
+
"azure-ai-projects>=2.2.0,<2.4.0",
|
|
31
31
|
]
|
|
32
32
|
|
|
33
33
|
[tool.uv]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_framework_foundry-1.10.1 → agent_framework_foundry-1.10.2}/agent_framework_foundry/_tools.py
RENAMED
|
File without changes
|