mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 14:41:24 +08:00
fix: update anthropicBaseURL and geminiBaseURL for cherryin provider to include versioning
This commit is contained in:
parent
f742ebed1f
commit
b906849c17
@ -254,7 +254,7 @@ export function providerToAiSdkConfig(actualProvider: Provider, model: Model): A
|
||||
// CherryIN API Host
|
||||
const cherryinProvider = getProviderById(SystemProviderIds.cherryin)
|
||||
if (cherryinProvider) {
|
||||
extraOptions.anthropicBaseURL = cherryinProvider.anthropicApiHost
|
||||
extraOptions.anthropicBaseURL = cherryinProvider.anthropicApiHost + '/v1'
|
||||
extraOptions.geminiBaseURL = cherryinProvider.apiHost + '/v1beta/models'
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user