Skip to content

Commit 9ea0a12

Browse files
committed
Fix capitalization typo
1 parent c352ffd commit 9ea0a12

File tree

1 file changed

+2
-1
lines changed
  • python/ql/src/Security/CWE-1427/examples

1 file changed

+2
-1
lines changed

python/ql/src/Security/CWE-1427/examples/example.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
from flask import Flask, request
2-
from agents import Agent, Runner
2+
from agents import Agent
33
from guardrails import GuardrailAgent
44

55
@app.route("/parameter-route")
66
def get_input():
77
input = request.args.get("input")
88

9+
goodAgent = GuardrailAgent( # GOOD: Agent created with guardrails automatically configured.
910
config=Path("guardrails_config.json"),
1011
name="Assistant",
1112
instructions="This prompt is customized for " + input)

0 commit comments

Comments
 (0)