Skip to content

Commit

Permalink
Merge branch 'main' into model-monitoring-export-block
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelPeczek-Roboflow authored Nov 22, 2024
2 parents 96817a5 + 62f17e4 commit 538eda1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inference/usage_tracking/collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,9 @@ def empty_usage_dict(exec_session_id: str) -> APIKeyUsage:
"inference_version": inference_version,
"enterprise": False,
}
if ROBOFLOW_INTERNAL_SERVICE_SECRET and ROBOFLOW_INTERNAL_SERVICE_NAME:
if ROBOFLOW_INTERNAL_SERVICE_SECRET:
usage_dict["roboflow_internal_secret"] = ROBOFLOW_INTERNAL_SERVICE_SECRET
if ROBOFLOW_INTERNAL_SERVICE_NAME:
usage_dict["roboflow_service_name"] = ROBOFLOW_INTERNAL_SERVICE_NAME

return defaultdict( # api_key_hash
Expand Down

0 comments on commit 538eda1

Please sign in to comment.