feat: add confirm_identity API endpoint
- Add POST /api/v1/agents/identity/confirm endpoint - Calls confirm_identity.py to bind trace to identity - Updates TKG, Qdrant _faces, PG face_detections, _seeds - Optional Round 2 propagation after confirmation - Fix trace_id=0 check in confirm_identity.py (use 'is not None') - Document API endpoint in 08_identity_agent.md
This commit is contained in:
@@ -284,7 +284,7 @@ def main():
|
||||
|
||||
if args.json:
|
||||
result = batch_confirm_from_json(args.file_uuid, args.json, propagate)
|
||||
elif args.trace_id and args.identity_id and args.identity_uuid and args.name:
|
||||
elif args.trace_id is not None and args.identity_id is not None and args.identity_uuid and args.name:
|
||||
result = confirm_single_trace(
|
||||
args.file_uuid,
|
||||
args.trace_id,
|
||||
|
||||
Reference in New Issue
Block a user