Skip to content

Commit

Permalink
refine condition
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengfeiwang committed May 13, 2024
1 parent 65395e3 commit aab5104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/promptflow-devkit/promptflow/_sdk/_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def start_trace_with_devkit(collection: str, **kwargs: typing.Any) -> None:
# print tracing url(s) when run is specified
_print_tracing_url_from_local(pfs_port=pfs_port, collection=collection, exp=exp, run=run)

if run is not None and run_config._is_cloud_trace_destination(path=flow_path):
if run is not None and ws_triad is not None:
trace_destination = run_config.get_trace_destination(path=flow_path)
print(
f"You can view the traces in azure portal since trace destination is set to: {trace_destination}. "
Expand Down

0 comments on commit aab5104

Please sign in to comment.