Skip to content

Commit 0285131

Browse files
authored
Merge pull request #1114 from guardrails-ai/fix-attribute-checking
fix metric enablement
2 parents 587a097 + d3b08f8 commit 0285131

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

guardrails/guard.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ def __init__(
226226
)
227227
if not _loaded:
228228
self._save()
229+
else:
230+
self.configure()
229231

230232
@field_validator("output_schema")
231233
@classmethod

guardrails/run/async_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ async def async_call(
281281
return llm_response
282282

283283
# TODO: Refactor this to use inheritance and overrides
284-
@async_trace(name="/validation", origin="AsyncRunner.async_validate")
284+
# @async_trace(name="/validation", origin="AsyncRunner.async_validate")
285285
async def async_validate(
286286
self,
287287
iteration: Iteration,

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 = "guardrails-ai"
3-
version = "0.5.13"
3+
version = "0.5.14"
44
description = "Adding guardrails to large language models."
55
authors = ["Guardrails AI <contact@guardrailsai.com>"]
66
license = "Apache License 2.0"

0 commit comments

Comments
 (0)