Add tool identity quality checks
This commit is contained in:
@@ -1452,7 +1452,10 @@ impl AdminService {
|
||||
self.validate_operation_payload(&payload)?;
|
||||
self.ensure_workspace_exists(workspace_id).await?;
|
||||
|
||||
Ok(crank_core::ToolQualityReport::empty())
|
||||
Ok(crank_core::analyze_tool_identity_quality(
|
||||
&payload.name,
|
||||
&payload.tool_description,
|
||||
))
|
||||
}
|
||||
|
||||
#[instrument(skip(self, payload), fields(operation_id = %operation_id.as_str(), protocol = ?payload.operation.protocol))]
|
||||
|
||||
Reference in New Issue
Block a user