Skip to content

Commit 58030c9

Browse files
Merge pull request #547 from ragul-kachiappan-dev/main
fix: printing signature fields in verbose mode for signature_opt
2 parents 08dd4e9 + c2737f6 commit 58030c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dspy/teleprompt/signature_opt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _print_signature(self, predictor):
9696
else:
9797
signature = predictor.extended_signature1
9898
print(f"i: {signature.instructions}")
99-
print(f"p: {list(signature.fields().values())[-1].json_schema_extra['prefix']}")
99+
print(f"p: {list(signature.fields.values())[-1].json_schema_extra['prefix']}")
100100
print()
101101

102102

0 commit comments

Comments
 (0)