agent-framework-core 1.2.0__tar.gz → 1.2.1__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_core-1.2.0 → agent_framework_core-1.2.1}/PKG-INFO +1 -1
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/__init__.py +2 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_telemetry.py +4 -2
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/exceptions.py +2 -1
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/pyproject.toml +1 -1
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/LICENSE +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/README.md +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_agents.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_clients.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_compaction.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_docstrings.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_evaluation.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_feature_stage.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_mcp.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_middleware.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_serialization.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_sessions.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_settings.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_skills.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_tools.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_types.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_agent.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_agent_executor.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_agent_utils.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_checkpoint.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_checkpoint_encoding.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_const.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_conversation_history.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_edge.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_edge_runner.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_events.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_executor.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_function_executor.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_functional.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_message_utils.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_model_utils.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_request_info_mixin.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_runner.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_runner_context.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_state.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_typing_utils.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_validation.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_viz.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_workflow.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_workflow_builder.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_workflow_context.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_workflow_executor.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/a2a/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/a2a/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/ag_ui/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/ag_ui/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/amazon/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/amazon/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/anthropic/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/anthropic/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/azure/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/azure/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/chatkit/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/chatkit/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/declarative/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/declarative/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/devui/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/devui/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/foundry/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/foundry/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/github/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/github/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/google/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/google/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/lab/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/mem0/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/mem0/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/microsoft/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/microsoft/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/observability.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/ollama/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/ollama/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/openai/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/openai/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/orchestrations/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/orchestrations/__init__.pyi +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/py.typed +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/redis/__init__.py +0 -0
- {agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/redis/__init__.pyi +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-framework-core
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: Microsoft Agent Framework for building AI Agents with Python. This is the core package that has all the core abstractions and implementations.
|
|
5
5
|
Author-email: Microsoft <af-support@microsoft.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -247,6 +247,7 @@ from ._workflows._workflow_executor import (
|
|
|
247
247
|
WorkflowExecutor,
|
|
248
248
|
)
|
|
249
249
|
from .exceptions import (
|
|
250
|
+
AgentFrameworkException,
|
|
250
251
|
MiddlewareException,
|
|
251
252
|
UserInputRequiredException,
|
|
252
253
|
WorkflowCheckpointException,
|
|
@@ -280,6 +281,7 @@ __all__ = [
|
|
|
280
281
|
"AgentExecutor",
|
|
281
282
|
"AgentExecutorRequest",
|
|
282
283
|
"AgentExecutorResponse",
|
|
284
|
+
"AgentFrameworkException",
|
|
283
285
|
"AgentMiddleware",
|
|
284
286
|
"AgentMiddlewareLayer",
|
|
285
287
|
"AgentMiddlewareTypes",
|
|
@@ -79,9 +79,11 @@ def _detect_hosted_environment() -> None:
|
|
|
79
79
|
except (ModuleNotFoundError, ValueError):
|
|
80
80
|
return
|
|
81
81
|
with contextlib.suppress(ImportError, AttributeError):
|
|
82
|
-
from azure.ai.agentserver.core import
|
|
82
|
+
from azure.ai.agentserver.core import ( # pyright: ignore[reportMissingImports]
|
|
83
|
+
AgentConfig, # pyright: ignore[reportUnknownVariableType]
|
|
84
|
+
)
|
|
83
85
|
|
|
84
|
-
if AgentConfig.from_env().is_hosted:
|
|
86
|
+
if AgentConfig.from_env().is_hosted: # pyright: ignore[reportUnknownMemberType]
|
|
85
87
|
_add_user_agent_prefix(_HOSTED_USER_AGENT_PREFIX)
|
|
86
88
|
_hosted_env_detected = True
|
|
87
89
|
|
|
@@ -34,7 +34,8 @@ class AgentFrameworkException(Exception):
|
|
|
34
34
|
logger.log(log_level, message, exc_info=inner_exception)
|
|
35
35
|
if inner_exception:
|
|
36
36
|
super().__init__(message, inner_exception, *args) # type: ignore
|
|
37
|
-
|
|
37
|
+
else:
|
|
38
|
+
super().__init__(message, *args) # type: ignore
|
|
38
39
|
|
|
39
40
|
|
|
40
41
|
# region Agent Exceptions
|
|
@@ -4,7 +4,7 @@ description = "Microsoft Agent Framework for building AI Agents with Python. Thi
|
|
|
4
4
|
authors = [{ name = "Microsoft", email = "af-support@microsoft.com"}]
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
7
|
-
version = "1.2.
|
|
7
|
+
version = "1.2.1"
|
|
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"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/__init__.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_agent.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_agent_utils.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_checkpoint.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_const.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_edge.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_edge_runner.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_events.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_executor.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_functional.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_model_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_runner.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_state.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_validation.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_viz.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/_workflows/_workflow.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/ag_ui/__init__.pyi
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/amazon/__init__.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/amazon/__init__.pyi
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/anthropic/__init__.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/anthropic/__init__.pyi
RENAMED
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/azure/__init__.pyi
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/chatkit/__init__.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/chatkit/__init__.pyi
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/declarative/__init__.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/declarative/__init__.pyi
RENAMED
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/devui/__init__.pyi
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/foundry/__init__.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/foundry/__init__.pyi
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/github/__init__.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/github/__init__.pyi
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/google/__init__.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/google/__init__.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/microsoft/__init__.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/microsoft/__init__.pyi
RENAMED
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/ollama/__init__.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/ollama/__init__.pyi
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/openai/__init__.py
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/openai/__init__.pyi
RENAMED
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/orchestrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_framework_core-1.2.0 → agent_framework_core-1.2.1}/agent_framework/redis/__init__.pyi
RENAMED
|
File without changes
|