mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 14:41:24 +08:00
parent
ebfc60b039
commit
b58a2fce03
@ -271,9 +271,9 @@ export class WindowService {
|
|||||||
'https://account.siliconflow.cn/oauth',
|
'https://account.siliconflow.cn/oauth',
|
||||||
'https://cloud.siliconflow.cn/bills',
|
'https://cloud.siliconflow.cn/bills',
|
||||||
'https://cloud.siliconflow.cn/expensebill',
|
'https://cloud.siliconflow.cn/expensebill',
|
||||||
'https://aihubmix.com/token',
|
'https://console.aihubmix.com/token',
|
||||||
'https://aihubmix.com/topup',
|
'https://console.aihubmix.com/topup',
|
||||||
'https://aihubmix.com/statistics',
|
'https://console.aihubmix.com/statistics',
|
||||||
'https://dash.302.ai/sso/login',
|
'https://dash.302.ai/sso/login',
|
||||||
'https://dash.302.ai/charge',
|
'https://dash.302.ai/charge',
|
||||||
'https://www.aiionly.com/login'
|
'https://www.aiionly.com/login'
|
||||||
|
|||||||
@ -62,7 +62,7 @@ export const getCodeToolsApiBaseUrl = (model: Model, type: EndpointType) => {
|
|||||||
const CODE_TOOLS_API_ENDPOINTS = {
|
const CODE_TOOLS_API_ENDPOINTS = {
|
||||||
aihubmix: {
|
aihubmix: {
|
||||||
gemini: {
|
gemini: {
|
||||||
api_base_url: 'https://api.aihubmix.com/gemini'
|
api_base_url: 'https://aihubmix.com/gemini'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deepseek: {
|
deepseek: {
|
||||||
|
|||||||
@ -201,7 +201,7 @@ export const providerCharge = async (provider: string) => {
|
|||||||
height: 700
|
height: 700
|
||||||
},
|
},
|
||||||
aihubmix: {
|
aihubmix: {
|
||||||
url: `https://aihubmix.com/topup?client_id=cherry_studio_oauth&lang=${getLanguageCode()}&aff=SJyh`,
|
url: `https://console.aihubmix.com/topup?client_id=cherry_studio_oauth&lang=${getLanguageCode()}&aff=SJyh`,
|
||||||
width: 720,
|
width: 720,
|
||||||
height: 900
|
height: 900
|
||||||
},
|
},
|
||||||
@ -244,7 +244,7 @@ export const providerBills = async (provider: string) => {
|
|||||||
height: 700
|
height: 700
|
||||||
},
|
},
|
||||||
aihubmix: {
|
aihubmix: {
|
||||||
url: `https://aihubmix.com/statistics?client_id=cherry_studio_oauth&lang=${getLanguageCode()}&aff=SJyh`,
|
url: `https://console.aihubmix.com/statistics?client_id=cherry_studio_oauth&lang=${getLanguageCode()}&aff=SJyh`,
|
||||||
width: 900,
|
width: 900,
|
||||||
height: 700
|
height: 700
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user