MCPcopy
hub / github.com/AstrBotDevs/AstrBot / snapshot_context_manager

Function snapshot_context_manager

tests/test_tool_loop_agent_runner.py:496–497  ·  view source on GitHub ↗
(messages, trusted_token_usage=0)

Source from the content-addressed store, hash-verified

494 )
495
496 async def snapshot_context_manager(messages, trusted_token_usage=0):
497 return list(messages)
498
499 runner.request_context_manager.process = snapshot_context_manager
500

Callers

nothing calls this directly

Calls 1

listFunction · 0.50

Tested by

no test coverage detected