Skip to content

Commit b64f2e9

Browse files
authored
Merge pull request #65 from trypear/building
Added build passing
2 parents 8b405c4 + 3e53847 commit b64f2e9

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Anthropic } from "@anthropic-ai/sdk"
2-
import { BetaThinkingConfigParam } from "@anthropic-ai/sdk/resources/beta/messages/index.mjs"
2+
import { BetaThinkingConfigParam } from "@anthropic-ai/sdk/resources/beta/messages"
33

44
import { ApiConfiguration, ModelInfo, ApiHandlerOptions } from "../shared/api"
55
import { ANTHROPIC_DEFAULT_MAX_TOKENS } from "./providers/constants"

webview-ui/tsconfig.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
3+
"target": "es2022",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,
@@ -17,8 +17,12 @@
1717
"jsx": "react-jsx",
1818
"baseUrl": ".",
1919
"paths": {
20-
"@/*": ["./src/*"]
21-
}
20+
"@/*": ["./src/*"],
21+
"js-tiktoken/ranks/o200k_base": ["../node_modules/js-tiktoken/dist/ranks/o200k_base"]
22+
},
23+
"useUnknownInCatchVariables": false,
24+
"downlevelIteration": true
2225
},
23-
"include": ["src", "../src/shared"]
26+
"include": ["src", "../src/shared"],
27+
"exclude": ["node_modules"]
2428
}

0 commit comments

Comments
 (0)