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

Method summarize_history

tests/test_stats.py:28–29  ·  view source on GitHub ↗
(self, transcript: str, *, latest_user_prompt: str, session_id: str, request: object)

Source from the content-addressed store, hash-verified

26 return SemanticCallResult(text=f"summary for {tool_name}", model="deepseek/deepseek-chat", estimated_cost=0.001)
27
28 async def summarize_history(self, transcript: str, *, latest_user_prompt: str, session_id: str, request: object) -> SemanticCallResult | None:
29 return SemanticCallResult(text=f"checkpoint for {session_id}", model="deepseek/deepseek-chat", estimated_cost=0.002)
30
31 async def rehydrate_artifact(self, query: str, *, artifact_id: str, content: str, summary: str, request: object) -> SemanticCallResult | None:
32 return SemanticCallResult(text=f"rehydrated {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