Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Changed max retries back to 3

Thomas D Ahle8171ba13ec1f
diff --git a/dspy/functional/functional.py b/dspy/functional/functional.py
index 8ca45523f..da5e52f94 100644
--- a/dspy/functional/functional.py
+++ b/dspy/functional/functional.py
@@ -14,7 +14,7 @@ from dspy.primitives.prediction import Prediction
from dspy.signatures.signature import ensure_signature, make_signature
-MAX_RETRIES = 5
+MAX_RETRIES = 3
def predictor(func) -> dspy.Module: