dspy.inspect_history¶ dspy.inspect_history(n: int = 1) ¶ The global history shared across all LMs. Source code in dspy/clients/base_lm.py 242 243 244def inspect_history(n: int = 1): """The global history shared across all LMs.""" return pretty_print_history(GLOBAL_HISTORY, n) :::