We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f47446 commit 07ca468Copy full SHA for 07ca468
1 file changed
packages/web/src/components/cells/code.tsx
@@ -384,13 +384,12 @@ export default function ControlledCodeCell(props: Props) {
384
inlineCopilot(async (prefix, suffix) => {
385
let response;
386
try {
387
- response = await runCodiumAiAutocomplete(prefix+suffix, prefix.length-1);
+ response = await runCodiumAiAutocomplete(prefix+suffix, prefix.length);
388
} catch (err) {
389
console.error('Error fetching ai autocomplete suggestion:', err);
390
return "";
391
}
392
393
- console.log('AUTOCOMPLETE RESPONSE:', response);
394
if (response.error) {
395
396
0 commit comments