dspy
dspy copied to clipboard
Extends lm.inspect_history to print usage and reasoning content
trafficstars
Enhanced the pretty_print_history function in lm.inspect_history to include:
Usage Details: Prints response usage information when available Reasoning Content: Displays reasoning content from the response message if present.
Hi @nguyenhoan1988 , thanks for the PR! could this instead be supported like how we do image & audio in inspect_history rather than keeping a separate verbose flag? Also, we don't need to introduce new colors - all outputs should be green