Prototype: Supercompletions #12798
Annotations
8 errors and 1 warning
Run pnpm build:
vscode/src/services/open-telemetry/OpenTelemetryService.node.ts#L52
Unreachable code detected.
|
Run pnpm build:
vscode/src/supercompletions/get-supercompletion.ts#L210
'removeOverlappingChanges' is declared but its value is never read.
|
Run pnpm build:
vscode/src/main.ts#L7
'Configuration' is declared but its value is never read.
|
Run pnpm build:
vscode/src/testutils/mocks.ts#L850
Type '{ proxy: null; codebase: string; customHeaders: {}; chatPreInstruction: string; useContext: "embeddings"; autocomplete: true; autocompleteLanguages: { '*': true; }; commandCodeLenses: false; editorTitleCommandIcon: true; experimentalGuardrails: false; experimentalSimpleChatContext: true; experimentalOllamaChat: false; experimentalSymfContext: true; experimentalTracing: false; codeActions: true; commandHints: false; isRunningInsideAgent: false; agentIDE: undefined; debugEnable: true; debugVerbose: false; debugFilter: null; telemetryLevel: "all"; internalUnstable: false; autocompleteAdvancedProvider: null; autocompleteAdvancedModel: null; autocompleteCompleteSuggestWidgetSelection: true; autocompleteFormatOnAccept: true; autocompleteDisableInsideComments: false; autocompleteExperimentalHotStreak: false; autocompleteExperimentalGraphContext: null; autocompleteExperimentalSmartThrottle: false; autocompleteExperimentalOllamaOptions: { model: string; url: string; }; autocompleteTimeouts: { multiline: undefined; singleline: undefined; }; testingLocalEmbeddingsEndpoint: undefined; testingLocalEmbeddingsIndexLibraryPath: undefined; testingLocalEmbeddingsModel: undefined; experimentalChatContextRanker: false; }' does not satisfy the expected type 'Configuration'.
|
Run pnpm build:
vscode/src/configuration.test.ts#L159
Type '{ proxy: string; codebase: string; useContext: "keyword"; customHeaders: { 'Cache-Control': string; 'Proxy-Authenticate': string; }; chatPreInstruction: string; autocomplete: false; autocompleteLanguages: { '*': true; }; commandCodeLenses: true; experimentalSimpleChatContext: true; experimentalSymfContext: true; experimentalTracing: true; editorTitleCommandIcon: true; experimentalGuardrails: true; experimentalOllamaChat: true; codeActions: true; commandHints: true; isRunningInsideAgent: false; agentIDE: undefined; internalUnstable: false; debugEnable: true; debugVerbose: true; debugFilter: RegExp; telemetryLevel: "off"; autocompleteAdvancedProvider: "unstable-openai"; autocompleteAdvancedModel: string; autocompleteCompleteSuggestWidgetSelection: false; autocompleteFormatOnAccept: true; autocompleteDisableInsideComments: false; autocompleteExperimentalHotStreak: false; autocompleteExperimentalGraphContext: "bfg"; autocompleteExperimentalSmartThrottle: false; autocompleteExperimentalOllamaOptions: { model: string; url: string; }; autocompleteTimeouts: { multiline: undefined; singleline: undefined; }; testingLocalEmbeddingsEndpoint: undefined; testingLocalEmbeddingsIndexLibraryPath: undefined; testingLocalEmbeddingsModel: undefined; experimentalChatContextRanker: false; }' does not satisfy the expected type 'Configuration'.
|
Run pnpm build:
vscode/src/completions/get-inline-completions-tests/helpers.ts#L55
Type '{ serverEndpoint: string; accessToken: string; proxy: string | null; codebase: string; debugEnable: boolean; debugFilter: RegExp | null; debugVerbose: boolean; telemetryLevel: "all" | "off" | "agent"; useContext: ConfigurationUseContext; customHeaders: {}; chatPreInstruction: string; codeActions: boolean; commandHints: boolean; commandCodeLenses: boolean; editorTitleCommandIcon: boolean; autocomplete: boolean; autocompleteLanguages: Record<string, boolean> | { '*': true; }; autocompleteAdvancedProvider: "anthropic" | "fireworks" | "unstable-openai" | "experimental-ollama" | null; autocompleteAdvancedModel: string | null; autocompleteCompleteSuggestWidgetSelection: boolean; autocompleteFormatOnAccept: boolean; autocompleteDisableInsideComments: boolean; experimentalGuardrails: boolean; experimentalSymfContext: boolean; experimentalTracing: boolean; experimentalSimpleChatContext: boolean; experimentalChatContextRanker: boolean; experimentalOllamaChat: boolean; experimentalSupercompletions?: boolean | undefined; internalUnstable: boolean; autocompleteExperimentalHotStreak: boolean; autocompleteExperimentalGraphContext: "bfg" | "bfg-mixed" | null; autocompleteExperimentalOllamaOptions: { model: string; url: string; }; autocompleteExperimentalFireworksOptions?: FireworksOptions | undefined; autocompleteExperimentalSmartThrottle: boolean; isRunningInsideAgent: boolean; agentIDE: "VSCode" | "JetBrains" | "Neovim" | "Emacs" | undefined; autocompleteTimeouts: AutocompleteTimeouts; testingLocalEmbeddingsModel: string | undefined; testingLocalEmbeddingsEndpoint: string | undefined; testingLocalEmbeddingsIndexLibraryPath: string | undefined; }' is not assignable to type 'ConfigurationWithAccessToken'.
|
Run pnpm build:
vscode/src/completions/providers/create-provider.test.ts#L20
Type '{ serverEndpoint: string; accessToken: string; proxy: string | null; codebase: string; debugEnable: boolean; debugFilter: RegExp | null; debugVerbose: boolean; telemetryLevel: "all" | "off" | "agent"; useContext: ConfigurationUseContext; customHeaders: {}; chatPreInstruction: string; codeActions: boolean; commandHints: boolean; commandCodeLenses: boolean; editorTitleCommandIcon: boolean; autocomplete: boolean; autocompleteLanguages: Record<string, boolean> | { '*': true; }; autocompleteAdvancedProvider: "anthropic" | "fireworks" | "unstable-openai" | "experimental-ollama" | null; autocompleteAdvancedModel: string | null; autocompleteCompleteSuggestWidgetSelection: boolean; autocompleteFormatOnAccept: boolean; autocompleteDisableInsideComments: boolean; experimentalGuardrails: boolean; experimentalSymfContext: boolean; experimentalTracing: boolean; experimentalSimpleChatContext: boolean; experimentalChatContextRanker: boolean; experimentalOllamaChat: boolean; experimentalSupercompletions?: boolean | undefined; internalUnstable: boolean; autocompleteExperimentalHotStreak: boolean; autocompleteExperimentalGraphContext: "bfg" | "bfg-mixed" | null; autocompleteExperimentalOllamaOptions: { model: string; url: string; }; autocompleteExperimentalFireworksOptions?: FireworksOptions | undefined; autocompleteExperimentalSmartThrottle: boolean; isRunningInsideAgent: boolean; agentIDE: "VSCode" | "JetBrains" | "Neovim" | "Emacs" | undefined; autocompleteTimeouts: AutocompleteTimeouts; testingLocalEmbeddingsModel: string | undefined; testingLocalEmbeddingsEndpoint: string | undefined; testingLocalEmbeddingsIndexLibraryPath: string | undefined; }' is not assignable to type 'ConfigurationWithAccessToken'.
|
Run pnpm build
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading