MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / approve_draft_chunk

Method approve_draft_chunk

crates/openshell-server/src/grpc/mod.rs:575–580  ·  view source on GitHub ↗
(
        &self,
        request: Request<ApproveDraftChunkRequest>,
    )

Source from the content-addressed store, hash-verified

573
574 #[rpc_auth(auth = "bearer", scope = "config:write", role = "admin")]
575 async fn approve_draft_chunk(
576 &self,
577 request: Request<ApproveDraftChunkRequest>,
578 ) -> Result<Response<ApproveDraftChunkResponse>, Status> {
579 policy::handle_approve_draft_chunk(&self.state, request).await
580 }
581
582 #[rpc_auth(auth = "bearer", scope = "config:write", role = "admin")]
583 async fn reject_draft_chunk(

Callers 1

spawn_draft_approveFunction · 0.45

Calls 1

Tested by

no test coverage detected