MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / summarize_history

Method summarize_history

tests/test_proxy.py:47–48  ·  view source on GitHub ↗
(self, transcript: str, *, latest_user_prompt: str, session_id: str, request: object)

Source from the content-addressed store, hash-verified

45 return SemanticCallResult(text=f"semantic summary for {tool_name}", model="deepseek/deepseek-chat", estimated_cost=0.001)
46
47 async def summarize_history(self, transcript: str, *, latest_user_prompt: str, session_id: str, request: object) -> SemanticCallResult | None:
48 return SemanticCallResult(text=f"checkpoint summary for {session_id}", model="deepseek/deepseek-chat", estimated_cost=0.002)
49
50 async def rehydrate_artifact(self, query: str, *, artifact_id: str, content: str, summary: str, request: object) -> SemanticCallResult | None:
51 return SemanticCallResult(text=f"rehydrated excerpt for {artifact_id}", model="deepseek/deepseek-chat", estimated_cost=0.001)

Callers

nothing calls this directly

Calls 1

SemanticCallResultClass · 0.90

Tested by

no test coverage detected