Skip to content

Commit 282da37

Browse files
author
Baur
authored
Merge pull request #38 from ZenGuard-AI/baur/branch
[sdk] up the version and delete prints
2 parents 2fd0242 + b137f11 commit 282da37

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "zenguard"
3-
version = "0.1.14"
3+
version = "0.1.15"
44
description = "Fast production grade security for GenAI applications"
55
authors = ["ZenGuard Team <hello@zenguard.ai>"]
66
license = "MIT"

zenguard/zenguard.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ def detect(self, detectors: list[Detector], prompt: str):
109109
else:
110110
url += "v1/detect"
111111
json = {"messages": [prompt], "in_parallel": True, "detectors": detectors}
112-
print(detectors)
113112

114113
try:
115114
response = httpx.post(
@@ -126,7 +125,6 @@ def detect(self, detectors: list[Detector], prompt: str):
126125
print(response.json())
127126
return {"error": str(response.json())}
128127

129-
print(response.json())
130128
return response.json()
131129

132130
def _attack_zenguard(self, detector: Detector, attacks: list[str]):

0 commit comments

Comments
 (0)