From 393f7d799c251adc363c456a25630ce243990492 Mon Sep 17 00:00:00 2001 From: Darshit Suratwala Date: Wed, 31 Jul 2024 11:37:32 -0700 Subject: [PATCH 1/2] fix: generativeai sfk version fetch for gemini --- .../instrumentation/gemini/instrumentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/langtrace_python_sdk/instrumentation/gemini/instrumentation.py b/src/langtrace_python_sdk/instrumentation/gemini/instrumentation.py index 675a049d..e98b1ede 100644 --- a/src/langtrace_python_sdk/instrumentation/gemini/instrumentation.py +++ b/src/langtrace_python_sdk/instrumentation/gemini/instrumentation.py @@ -14,7 +14,7 @@ def instrumentation_dependencies(self) -> Collection[str]: def _instrument(self, **kwargs): trace_provider = kwargs.get("tracer_provider") tracer = get_tracer(__name__, "", trace_provider) - version = v("google-cloud-aiplatform") + version = v("google-generativeai") for _, api_config in APIS.items(): module = api_config.get("module") From 3c50c61fd03d553dcdf7b246e5cc60360075f66e Mon Sep 17 00:00:00 2001 From: Darshit Suratwala Date: Wed, 31 Jul 2024 11:39:03 -0700 Subject: [PATCH 2/2] chore: bump version for gemini sdk version fix --- src/langtrace_python_sdk/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/langtrace_python_sdk/version.py b/src/langtrace_python_sdk/version.py index aed1580f..223af0cb 100644 --- a/src/langtrace_python_sdk/version.py +++ b/src/langtrace_python_sdk/version.py @@ -1 +1 @@ -__version__ = "2.2.13" +__version__ = "2.2.14"