Skip to content

Commit 8fa2465

Browse files
authored
fix inspect_history function calling issue (#8316)
1 parent b2e4c0c commit 8fa2465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dspy/clients/base_lm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def copy(self, **kwargs):
137137
return new_instance
138138

139139
def inspect_history(self, n: int = 1):
140-
return inspect_history(self.history, n)
140+
return pretty_print_history(self.history, n)
141141

142142
def update_global_history(self, entry):
143143
if settings.disable_history:

0 commit comments

Comments
 (0)