mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 23:59:45 +08:00
fix(migrate): use provider apiHost for new-api (#11244)
fix(migrate): use provider apiHost for new-api case instead of hardcoded value
This commit is contained in:
parent
31f8fff6e2
commit
803f4b5a64
@ -2765,7 +2765,7 @@ const migrateConfig = {
|
|||||||
provider.anthropicApiHost = 'https://aihubmix.com'
|
provider.anthropicApiHost = 'https://aihubmix.com'
|
||||||
break
|
break
|
||||||
case 'new-api':
|
case 'new-api':
|
||||||
provider.anthropicApiHost = 'http://localhost:3000'
|
provider.anthropicApiHost = provider.apiHost
|
||||||
break
|
break
|
||||||
case 'grok':
|
case 'grok':
|
||||||
provider.anthropicApiHost = 'https://api.x.ai'
|
provider.anthropicApiHost = 'https://api.x.ai'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user