Site title for rankings on OpenRouter
add "HTTP-Referer" and "X-Title" to defaultHeaders
This commit is contained in:
parent
e066db763a
commit
754693f403
@ -71,6 +71,8 @@ export default abstract class BaseProvider {
|
|||||||
|
|
||||||
public defaultHeaders() {
|
public defaultHeaders() {
|
||||||
return {
|
return {
|
||||||
|
'HTTP-Referer': 'https://cherry-ai.com',
|
||||||
|
'X-Title': 'Cherry Studio',
|
||||||
'X-Api-Key': this.apiKey
|
'X-Api-Key': this.apiKey
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user