MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / patch_function

Function patch_function

methods/letta/local_llm/function_parser.py:66–68  ·  view source on GitHub ↗
(message_history, new_message)

Source from the content-addressed store, hash-verified

64
65
66def patch_function(message_history, new_message):
67 corrected_output = heartbeat_correction(message_history=message_history, new_message=new_message)
68 return corrected_output if corrected_output is not None else new_message

Callers 1

get_chat_completionFunction · 0.90

Calls 1

heartbeat_correctionFunction · 0.85

Tested by

no test coverage detected