We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7902158 commit dc64e12Copy full SHA for dc64e12
dspy/clients/lm.py
@@ -19,7 +19,7 @@
19
from dspy.clients.provider import Provider, TrainingJob
20
from dspy.clients.utils_finetune import TrainDataFormat
21
from dspy.dsp.utils.settings import settings
22
-from dspy.utils.callback import BaseCallback, with_callbacks
+from dspy.utils.callback import BaseCallback
23
24
from .base_lm import BaseLM
25
@@ -96,7 +96,6 @@ def __init__(
96
else:
97
self.kwargs = dict(temperature=temperature, max_tokens=max_tokens, **kwargs)
98
99
- @with_callbacks
100
def forward(self, prompt=None, messages=None, **kwargs):
101
# Build the request.
102
cache = kwargs.pop("cache", self.cache)
0 commit comments