/// for docstring

Co-authored-by: Michael Bolin <mbolin@openai.com>
This commit is contained in:
zhao-oai
2025-11-19 09:04:37 -08:00
committed by GitHub
parent 9bb7589a36
commit db36ccbe35

View File

@@ -89,11 +89,11 @@ pub(crate) struct ApprovalCtx<'a> {
// Specifies what tool orchestrator should do with a given tool call.
#[derive(Clone, Debug, PartialEq, Eq)]
pub(crate) enum ApprovalRequirement {
// No approval required for this tool call
/// No approval required for this tool call
Skip,
// Approval required for this tool call
/// Approval required for this tool call
NeedsApproval { reason: Option<String> },
// Execution forbidden for this tool call
/// Execution forbidden for this tool call
Forbidden { reason: String },
}