mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-11 08:19:01 +08:00
Merge branch 'feat/agents-new' of https://github.com/CherryHQ/cherry-studio into feat/agents-new
This commit is contained in:
commit
335bf47dbd
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "CherryStudio",
|
"name": "CherryStudio",
|
||||||
"version": "1.6.0-rc.3",
|
"version": "1.7.0-alpha.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "A powerful AI assistant for producer.",
|
"description": "A powerful AI assistant for producer.",
|
||||||
"main": "./out/main/index.js",
|
"main": "./out/main/index.js",
|
||||||
|
|||||||
@ -72,6 +72,7 @@ export function getSdkClient(provider: Provider, oauthToken?: string | null): An
|
|||||||
}
|
}
|
||||||
return new Anthropic({
|
return new Anthropic({
|
||||||
apiKey: provider.apiKey,
|
apiKey: provider.apiKey,
|
||||||
|
authToken: provider.apiKey,
|
||||||
baseURL: provider.apiHost,
|
baseURL: provider.apiHost,
|
||||||
dangerouslyAllowBrowser: true,
|
dangerouslyAllowBrowser: true,
|
||||||
defaultHeaders: {
|
defaultHeaders: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user