Skip to content

Commit 26dc362

Browse files
committed
add prompt_guard field for prompt engine
1 parent ab7cfc0 commit 26dc362

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

jigsawstack/prompt_engine.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class PromptEngineRunParams(TypedDict):
1818
input_values: NotRequired[Dict[str, str]]
1919
stream: Union[bool, None] = False
2020
use_internet: Union[bool, None] = False
21+
prompt_guard: NotRequired[List[str]]
2122

2223

2324
class PromptEngineExecuteParams(TypedDict):
@@ -37,6 +38,7 @@ class PromptEngineCreateParams(TypedDict):
3738
return_prompt: Union[str, List[object], Dict[str, str]]
3839
use_internet: Union[bool, None] = False
3940
optimize_prompt: Union[bool, None] = False
41+
prompt_guard: NotRequired[List[str]]
4042

4143

4244
class PromptEngineCreateResponse(TypedDict):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="jigsawstack",
9-
version="0.1.19",
9+
version="0.1.20",
1010
description="JigsawStack Python SDK",
1111
long_description=open("README.md", encoding="utf8").read(),
1212
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)