Skip to content

Commit

Permalink
fix: signature not reachable
Browse files Browse the repository at this point in the history
  • Loading branch information
joennlae committed Feb 5, 2024
1 parent 7f16ab1 commit 6407b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dspy/predict/chain_of_thought.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def forward(self, **kwargs):
else:
signature = self.signature
else:
signature = dsp.Template(signature.instructions, **new_signature)
signature = dsp.Template(self.signature.instructions, **new_signature)
return super().forward(signature=signature, **kwargs)


Expand Down

0 comments on commit 6407b36

Please sign in to comment.