Skip to content

Commit 5606bfe

Browse files
add response_model key to LM history entry
1 parent 6178c28 commit 5606bfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dspy/clients/lm.py

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ def __call__(self, prompt=None, messages=None, **kwargs):
110110
timestamp=datetime.now().isoformat(),
111111
uuid=str(uuid.uuid4()),
112112
model=self.model,
113+
response_model=response["model"],
113114
model_type=self.model_type,
114115
)
115116
self.history.append(entry)

0 commit comments

Comments
 (0)