We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9695282 commit bdc918aCopy full SHA for bdc918a
patchwork/steps/ScanPSFuzz/ScanPSFuzz.py
@@ -23,7 +23,13 @@ def __init__(self, inputs: dict):
23
command_args=f'-b {inputs["prompt_file_path"]}',
24
env=f'OPENAI_API_KEY={inputs["openai_api_key"]}'
25
)
26
+import os
27
28
+wrapped_input = dict(
29
+ command="prompt-security-fuzzer",
30
+ command_args=f'-b {inputs["prompt_file_path"]}',
31
+ env=f'OPENAI_API_KEY={os.getenv("OPENAI_API_KEY")}'
32
+)
33
working_dir = inputs.get("working_dir")
34
if working_dir is not None:
35
wrapped_input["working_dir"] = working_dir
0 commit comments