MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / summarize_session

Function summarize_session

crates/opencode-server/src/routes.rs:2043–2050  ·  view source on GitHub ↗
(
    Path(_id): Path<String>,
    Json(_req): Json<SummarizeSessionRequest>,
)

Source from the content-addressed store, hash-verified

2041}
2042
2043async fn summarize_session(
2044 Path(_id): Path<String>,
2045 Json(_req): Json<SummarizeSessionRequest>,
2046) -> Result<Json<serde_json::Value>> {
2047 Ok(Json(
2048 serde_json::json!({ "summarized": true, "message": "Session summarized successfully" }),
2049 ))
2050}
2051
2052async fn session_unrevert(Path(_id): Path<String>) -> Result<Json<serde_json::Value>> {
2053 Ok(Json(

Callers 1

loop_innerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected