mirror of
https://github.com/stackblitz/bolt.new
synced 2025-06-26 18:17:50 +00:00
feat: 更新了@babel包中的多个依赖包版本,包括@babel/helper-create-class-features-plugin、@babel/helper-environment-visitor等,以适应新版本的API和功能。
This commit is contained in:
parent
ffa9f11360
commit
ef45e66b17
@ -1,8 +1,10 @@
|
|||||||
import { createAnthropic } from '@ai-sdk/anthropic';
|
import { createAnthropic } from '@ai-sdk/anthropic';
|
||||||
|
import { env } from 'node:process';
|
||||||
export function getAnthropicModel(apiKey: string) {
|
export function getAnthropicModel(apiKey: string) {
|
||||||
|
const baseURL = env.ANTHROPIC_BASE_URL;
|
||||||
const anthropic = createAnthropic({
|
const anthropic = createAnthropic({
|
||||||
apiKey,
|
apiKey,
|
||||||
|
baseURL,
|
||||||
});
|
});
|
||||||
|
|
||||||
return anthropic('claude-3-5-sonnet-20240620');
|
return anthropic('claude-3-5-sonnet-20240620');
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
"test:watch": "vitest",
|
"test:watch": "vitest",
|
||||||
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
|
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
|
||||||
"lint:fix": "npm run lint -- --fix",
|
"lint:fix": "npm run lint -- --fix",
|
||||||
"start": "bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings",
|
"start": "bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings --port 23895",
|
||||||
"typecheck": "tsc",
|
"typecheck": "tsc",
|
||||||
"typegen": "wrangler types",
|
"typegen": "wrangler types",
|
||||||
"preview": "pnpm run build && pnpm run start"
|
"preview": "pnpm run build && pnpm run start"
|
||||||
@ -87,6 +87,7 @@
|
|||||||
"is-ci": "^3.0.1",
|
"is-ci": "^3.0.1",
|
||||||
"node-fetch": "^3.3.2",
|
"node-fetch": "^3.3.2",
|
||||||
"prettier": "^3.3.2",
|
"prettier": "^3.3.2",
|
||||||
|
"sass-embedded": "^1.79.4",
|
||||||
"typescript": "^5.5.2",
|
"typescript": "^5.5.2",
|
||||||
"unified": "^11.0.5",
|
"unified": "^11.0.5",
|
||||||
"unocss": "^0.61.3",
|
"unocss": "^0.61.3",
|
||||||
|
|||||||
13987
pnpm-lock.yaml
13987
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user