Skip to content

Commit b62531a

Browse files
committed
Update security workflow message and add total_data_deleted field in AgentsAPI responses for improved clarity and data tracking.
1 parent 957edf0 commit b62531a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,4 +357,4 @@ jobs:
357357
exit 1
358358
fi
359359
360-
echo "✅ All critical security checks passed!"
360+
echo "✅ All critical security checks passed!"

cortex-sdk-python/cortex/agents/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ async def unregister_many(
447447
return {
448448
"deleted": 0,
449449
"agent_ids": [a.id for a in agents],
450+
"total_data_deleted": 0,
450451
}
451452

452453
results = []
@@ -472,6 +473,7 @@ async def unregister_many(
472473
return {
473474
"deleted": result.get("deleted", 0),
474475
"agent_ids": result.get("agentIds", []),
476+
"total_data_deleted": 0,
475477
}
476478

477479
return {

0 commit comments

Comments
 (0)