diff --git a/dspy/utils/inspect_history.py b/dspy/utils/inspect_history.py index 10333c4eb0..556913a74b 100644 --- a/dspy/utils/inspect_history.py +++ b/dspy/utils/inspect_history.py @@ -41,6 +41,11 @@ def pretty_print_history(history, n: int = 1): else: image_str = f"" print(_blue(image_str.strip())) + elif c["type"] == "input_audio": + audio_format = c["input_audio"]["format"] + len_audio = len(c["input_audio"]["data"]) + audio_str = f"