feat: enforce iOS AI safety policy and citations

This commit is contained in:
MingNian
2026-07-29 13:29:51 +08:00
parent b4bc15b9b9
commit 70c1b3eae0
16 changed files with 513 additions and 67 deletions

View File

@@ -63,7 +63,10 @@ class SseHandler {
cancelToken: cancelToken,
options: Options(
responseType: ResponseType.stream,
headers: {'Authorization': 'Bearer $token'},
headers: {
'Authorization': 'Bearer $token',
'X-App-Policy': appPolicyProfile,
},
),
);