mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-11 14:47:06 +00:00
2f4da118e0
- Added a new SQL migration to insert the 'anonymize.call' privilege into the privileges table. - Introduced the `anonymizeText` mutation in the GraphQL schema, allowing users to anonymize sensitive text. - Implemented the `AnonymizerService` to handle text anonymization requests via a REST API endpoint. - Updated the GraphQL resolver to integrate the new mutation and ensure proper permission checks. - Enhanced documentation with Swagger and OpenAPI specifications for the new endpoint. - Added error handling for invalid requests and unavailable anonymizer configurations.