implement message history management with trimming functionality 0aec042 McLoviniTtt commited on Feb 4