File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import { useCells } from '@srcbook/components/src/components/use-cell';
2020import { mapCMLocationToTsServer , mapTsServerLocationToCM } from './util' ;
2121import { toast } from 'sonner' ;
2222import { getFileContent } from '@/lib/server' ;
23- import { runCodiumAiAutocomplete } from '@/lib/ai-autocomplete' ;
23+ import { runCodeiumAiAutocomplete } from '@/lib/ai-autocomplete' ;
2424import { tsHover } from '@/components/cells/hover' ;
2525import { autocompletion } from '@codemirror/autocomplete' ;
2626import { type Diagnostic , linter } from '@codemirror/lint' ;
@@ -385,7 +385,7 @@ export default function ControlledCodeCell(props: Props) {
385385 inlineCopilot ( async ( prefix , suffix ) => {
386386 let response ;
387387 try {
388- response = await runCodiumAiAutocomplete (
388+ response = await runCodeiumAiAutocomplete (
389389 codeiumApiKey ?? null ,
390390 prefix + suffix ,
391391 cell . language ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const EDITOR_API_KEY = 'd49954eb-cfba-4992-980f-d8fb37f0e942';
1010
1111// NOTE: The below logic has been adapted from codeium's `@codeium/react-code-editor package. See here:
1212// https://github.com/Exafunction/codeium-react-code-editor/blob/768e1b231c00e078c86bc19c8ede697a1e37ec75/src/components/CodeiumEditor/CompletionProvider.ts#L147-L159
13- export async function runCodiumAiAutocomplete (
13+ export async function runCodeiumAiAutocomplete (
1414 optionalApiKey : string | null ,
1515 source : string ,
1616 sourceLanguage : 'javascript' | 'typescript' ,
You can’t perform that action at this time.
0 commit comments