Skip to content

Commit d563c38

Browse files
Backport PR #1361: Fix the path missing in inline completion request when there is no kernel (#1362)
Co-authored-by: Michał Krassowski <[email protected]>
1 parent 7f5b106 commit d563c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jupyter-ai/src/completions/provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class JaiInlineProvider
103103
this._streamPromises.clear();
104104
}
105105
const result = await this.options.completionHandler.sendMessage({
106-
path: context.session?.path,
106+
path,
107107
mime,
108108
prefix: this._prefixFromRequest(request),
109109
suffix: this._suffixFromRequest(request),

0 commit comments

Comments
 (0)