add X-Uncloseai-Client header for browser-toy identification
This commit is contained in:
parent
3c5efd29c4
commit
f4bb87eba8
1 changed files with 2 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ export async function* sendMessage(message) {
|
|||
headers = {
|
||||
"Content-Type": "application/json",
|
||||
Authorization: `Bearer ${API_KEY}`,
|
||||
"X-Uncloseai-Client": "browser-toy",
|
||||
};
|
||||
model = getSelectedModel();
|
||||
}
|
||||
|
|
@ -275,6 +276,7 @@ export async function* sendMessageWithCustomHistory(customHistory) {
|
|||
headers = {
|
||||
"Content-Type": "application/json",
|
||||
Authorization: `Bearer ${API_KEY}`,
|
||||
"X-Uncloseai-Client": "browser-toy",
|
||||
};
|
||||
model = getSelectedModel();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue