Skip to content

Commit b4d4c39

Browse files
Merge pull request #843 from MervinPraison/claude/issue-841-20250712_080725
fix: add return_dict=True to fix TypeError in prompt_chaining tests
2 parents 5edf1a1 + 591b7e2 commit b4d4c39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/python/general/prompt_chaining.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get_time_check():
7272
)
7373

7474
# Run the workflow
75-
results = workflow.start()
75+
results = workflow.start(return_dict=True)
7676

7777
# Print results
7878
print("\nWorkflow Results:")

src/praisonai-agents/tests/prompt_chaining.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def get_time_check():
6969
)
7070

7171
# Run the workflow
72-
results = workflow.start()
72+
results = workflow.start(return_dict=True)
7373

7474
# Print results
7575
print("\nWorkflow Results:")

0 commit comments

Comments
 (0)