Returns the trace from the most recent dsp() call. Useful for
debugging and understanding what happened.
Value
A list containing:
signature: The Signature object usedinputs: The inputs providedprompt: The full prompt sent to the LLMoutput: The raw output from the LLMtimestamp: When the call was made
Examples
if (FALSE) { # \dontrun{
dsp("q -> a", q = "What is 2+2?")
trace <- get_last_trace()
trace$prompt # See the prompt that was sent
} # }
