We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5682a53 commit ff53b20Copy full SHA for ff53b20
dspy/predict/predict.py
@@ -68,7 +68,7 @@ def load_state(self, state, use_legacy_loading=False):
68
if use_legacy_loading:
69
self._load_state_legacy(state)
70
return
71
- if "signature" not in state and ("signature_instructions" in state or "signature_prefix" in state):
+ if "signature" not in state:
72
# Check if the state is from a version of DSPy prior to v2.5.3.
73
raise ValueError(
74
"The saved state is from a version of DSPy prior to v2.5.3. Please use `use_legacy_loading=True` to "
0 commit comments