Skip to content

Commit b6ae0f5

Browse files
committed
example_json Dict -> str for agentic steps
1 parent fc4ead2 commit b6ae0f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

patchwork/steps/AgenticLLMV2/typed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class AgenticLLMV2Inputs(TypedDict, total=False):
1515
strategy_model: str
1616
agent_model: str
1717
agent_system_prompt: str
18-
example_json: Dict
18+
example_json: str
1919

2020

2121
class AgenticLLMV2Outputs(TypedDict):

patchwork/steps/DatabaseAgent/typed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class DatabaseAgentInputs(__DatabaseAgentOutputsRequiredInputs, total=False):
2828
google_api_key: Annotated[
2929
str, StepTypeConfig(is_config=True, or_op=["patched_api_key", "openai_api_key", "anthropic_api_key"])
3030
]
31-
example_json: Dict
31+
example_json: str
3232

3333

3434
class DatabaseAgentOutputs(TypedDict):

patchwork/steps/GitHubAgent/typed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class GitHubAgentInputs(__GitHubAgentRequiredInputs, total=False):
1212
prompt_value: Dict[str, Any]
1313
max_llm_calls: Annotated[int, StepTypeConfig(is_config=True)]
1414
github_api_key: str
15-
example_json: Optional[Dict]
15+
example_json: Optional[str]
1616
openai_api_key: Annotated[
1717
str,
1818
StepTypeConfig(

0 commit comments

Comments
 (0)