clear_prompt_history() empties the session's prompt history, which
get_last_prompt(), inspect_history() and session_cost() read. Module
traces are kept; see clear_traces() for those.
Value
The number of entries removed, invisibly. A message reports it when the history was not empty.
See also
Other inspection:
accessors,
clear_traces(),
export_traces(),
get_last_prompt(),
inspect_history(),
session_cost(),
summarize_traces()