mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 18:50:56 +08:00
Site title for rankings on OpenRouter
add "HTTP-Referer" and "X-Title" to defaultHeaders
This commit is contained in:
parent
2af27ff824
commit
d64c57b4a4
@ -71,6 +71,8 @@ export default abstract class BaseProvider {
|
||||
|
||||
public defaultHeaders() {
|
||||
return {
|
||||
'HTTP-Referer': 'https://cherry-ai.com',
|
||||
'X-Title': 'Cherry Studio',
|
||||
'X-Api-Key': this.apiKey
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user