You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1a93ec9
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/agent_details.py
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,3 +38,6 @@ class AgentDetails:
38
38
39
39
provider_name: Optional[str] =None
40
40
"""The provider name (e.g., openai, anthropic)."""
41
+
42
+
agent_version: Optional[str] =None
43
+
"""Optional version of the agent (e.g., "1.0.0", "2025-05-01")."""
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/execute_tool_scope.py
+28-22Lines changed: 28 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
GEN_AI_CONVERSATION_ID_KEY,
13
13
GEN_AI_TOOL_ARGS_KEY,
14
14
GEN_AI_TOOL_CALL_ID_KEY,
15
+
GEN_AI_TOOL_CALL_RESULT_KEY,
15
16
GEN_AI_TOOL_DESCRIPTION_KEY,
16
17
GEN_AI_TOOL_NAME_KEY,
17
18
GEN_AI_TOOL_TYPE_KEY,
@@ -21,12 +22,12 @@
21
22
USER_ID_KEY,
22
23
USER_NAME_KEY,
23
24
)
25
+
from .utilsimportsafe_json_dumps, validate_and_normalize_ip
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/execution_type.py
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/inference_call_details.py
+1-11Lines changed: 1 addition & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,7 @@
4
4
fromdataclassesimportdataclass
5
5
6
6
from .inference_operation_typeimportInferenceOperationType
7
-
8
-
9
-
@dataclass
10
-
classServiceEndpoint:
11
-
"""Represents a service endpoint with hostname and optional port."""
12
-
13
-
hostname: str
14
-
"""The hostname of the service endpoint."""
15
-
16
-
port: int|None=None
17
-
"""The port of the service endpoint."""
7
+
from .models.service_endpointimportServiceEndpoint
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/inference_scope.py
+37-19Lines changed: 37 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
4
4
fromtypingimportList
5
5
6
+
fromopentelemetry.traceimportSpanKind
7
+
6
8
from .agent_detailsimportAgentDetails
7
9
from .constantsimport (
8
10
CHANNEL_LINK_KEY,
@@ -25,6 +27,12 @@
25
27
GEN_AI_CALLER_CLIENT_IP_KEY,
26
28
)
27
29
from .inference_call_detailsimportInferenceCallDetails
30
+
from .message_utilsimport (
31
+
normalize_input_messages,
32
+
normalize_output_messages,
33
+
serialize_messages,
34
+
)
35
+
from .models.messagesimportInputMessagesParam, OutputMessagesParam
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/invoke_agent_details.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,12 @@
4
4
# Data class for invoke agent scope details.
5
5
6
6
fromdataclassesimportdataclass
7
-
fromurllib.parseimportParseResult
7
+
8
+
from .models.service_endpointimportServiceEndpoint
8
9
9
10
10
11
@dataclass
11
12
classInvokeAgentScopeDetails:
12
13
"""Scope-level configuration for agent invocation tracing."""
0 commit comments