Site title for rankings on OpenRouter

add "HTTP-Referer"  and "X-Title" to defaultHeaders
This commit is contained in:
Yasin 2025-03-06 19:48:24 +08:00 committed by 亢奋猫
parent e066db763a
commit 754693f403

View File

@ -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
}
}