MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / get_history

Method get_history

mini_agent/agent.py:521–523  ·  view source on GitHub ↗

Get message history.

(self)

Source from the content-addressed store, hash-verified

519 return error_msg
520
521 def get_history(self) -> list[Message]:
522 """Get message history."""
523 return self.messages.copy()

Callers 1

test_get_historyFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_get_historyFunction · 0.76