Skip to content

Commit 49dab92

Browse files
committed
fix: remove hardcoded SDK not installed warnings from all optional provider instr files
1 parent cf4c17d commit 49dab92

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

kalibr/instrumentation/google_instr.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ def instrument(self) -> bool:
8686
return True
8787

8888
except ImportError:
89-
print("⚠️ Google Generative AI SDK not installed, skipping instrumentation")
9089
return False
9190
except Exception as e:
9291
print(f"❌ Failed to instrument Google Generative AI SDK: {e}")

kalibr/instrumentation/huggingface_instr.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ def instrument(self) -> bool:
290290
return True
291291

292292
except ImportError:
293-
print("⚠️ huggingface_hub not installed, skipping instrumentation")
294293
return False
295294
except Exception as e:
296295
print(f"❌ Failed to instrument HuggingFace SDK: {e}")

0 commit comments

Comments
 (0)