Skip to content

Commit da1759a

Browse files
committed
add env setting info to readme
1 parent cc5b282 commit da1759a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
To allow the A365 observability SDK to capture input and output messages, please enable the flags in environment:
2+
ENABLE_OTEL=true
3+
ENABLE_SENSITIVE_DATA=true

tests/observability/extensions/agentframework/integration/test_agentframework_trace_processor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ def _validate_tool_span_attributes(self, agent365_config):
244244
if TENANT_ID_KEY in attributes:
245245
assert attributes[TENANT_ID_KEY] == agent365_config["tenant_id"]
246246

247-
# Check for LLM spans (generation spans)
248-
if GEN_AI_SYSTEM_KEY in attributes and attributes[GEN_AI_SYSTEM_KEY] == "openai":
247+
# Check for LLM spans
248+
if "chat" in span.name.lower():
249249
if GEN_AI_REQUEST_MODEL_KEY in attributes:
250250
llm_spans_found += 1
251251
print(f"✓ Found LLM span with model: {attributes[GEN_AI_REQUEST_MODEL_KEY]}")

0 commit comments

Comments
 (0)