From eb2db69f75c4e9a29ebb27b6f87ec64e595b22a6 Mon Sep 17 00:00:00 2001 From: krassowski <5832902+krassowski@users.noreply.github.com> Date: Sat, 7 Sep 2024 11:55:49 +0100 Subject: [PATCH] Lint --- packages/jupyter-ai/src/completions/provider.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/jupyter-ai/src/completions/provider.ts b/packages/jupyter-ai/src/completions/provider.ts index 44c81240d..80c199f5a 100644 --- a/packages/jupyter-ai/src/completions/provider.ts +++ b/packages/jupyter-ai/src/completions/provider.ts @@ -56,7 +56,10 @@ export class JaiInlineProvider ): Promise> { const allowedTriggerKind = this._settings.triggerKind; const triggerKind = context.triggerKind; - if (allowedTriggerKind === 'manual' && triggerKind !== InlineCompletionTriggerKind.Invoke) { + if ( + allowedTriggerKind === 'manual' && + triggerKind !== InlineCompletionTriggerKind.Invoke + ) { // Short-circuit if user requested to only invoke inline completions // on manual trigger for jupyter-ai. Users may still get completions // from other (e.g. less expensive or faster) providers. @@ -293,7 +296,7 @@ export namespace JaiInlineProvider { } export interface ISettings { - triggerKind: 'any' | 'manual', + triggerKind: 'any' | 'manual'; maxPrefix: number; maxSuffix: number; debouncerDelay: number;