Skip to content

Commit

Permalink
We can better provide support/versioning if we know the python version (
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-groundlight authored Nov 15, 2024
1 parent b361641 commit 735f9f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/groundlight/internalapi.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import json
import logging
import os
import platform
import random
import time
import uuid
Expand Down Expand Up @@ -161,7 +162,7 @@ class GroundlightApiClient(ApiClient):

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.user_agent = f"Groundlight-Python-SDK/{get_version()}"
self.user_agent = f"Groundlight-Python-SDK/{get_version()}/{platform.platform()}/{platform.python_version()}"

REQUEST_ID_HEADER = "X-Request-Id"

Expand Down

0 comments on commit 735f9f6

Please sign in to comment.