Skip to content

Commit

Permalink
[Bugfix] Fix missing otel_trace_id in FlowRunInfo.otel_trace_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangtong Xu committed Apr 25, 2024
1 parent 4c00cdb commit 7eb9dd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/promptflow-core/promptflow/contracts/run_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def deserialize(data: dict) -> "FlowRunInfo":
system_metrics=data.get("system_metrics", None),
result=data.get("result", None),
upload_metrics=data.get("upload_metrics", False),
otel_trace_id=data.get("otel_trace_id", ""),
message_format=data.get("message_format", MessageFormatType.BASIC),
)
return flow_run_info
Expand Down

0 comments on commit 7eb9dd4

Please sign in to comment.