mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 04:45:08 +03:00
feat: add ai assistant X-Client-Info header
This commit is contained in:
1 parent
48e4140202
commit
ac3091c013
1 file changed
+3
-1
@@ -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' } }
|
||||
: {}),
|
||||
}
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user