feat: add ai assistant X-Client-Info header

This commit is contained in:
Pedro Rodrigues committed 2026-02-18 11:08:26 +00:00
1 parent 48e4140202
commit ac3091c013
1 file changed
+3 -1
+3 -1
View File
@@ -254,7 +254,9 @@ function createChatInstance(
model: state.model,
...opts.body,
},
...(IS_PLATFORM ? { headers: { Authorization: authorizationHeader ?? '' } } : {}),
...(IS_PLATFORM
? { headers: { Authorization: authorizationHeader ?? '', 'X-Client-Info': 'supabase-studio/ai-assistant' } }
: {}),
}
},
}),