add guardrail

This commit is contained in:
zachary62
2025-03-27 12:02:27 -04:00
parent 32e8902c8b
commit 9c093df100
5 changed files with 223 additions and 1 deletions
-1
View File
@@ -57,7 +57,6 @@ reasons:
# Extract YAML content
yaml_content = response.split("```yaml")[1].split("```")[0].strip() if "```yaml" in response else response
result = yaml.safe_load(yaml_content)
return (filename, result)