Skip to content

Commit

Permalink
Translate ipython to python for models, remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski authored Dec 6, 2023
1 parent 85ecc02 commit 2bb095f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/jupyter-ai/src/inline-completions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,10 @@ class JupyterAIInlineProvider implements IInlineCompletionProvider {
if (!language) {
return 'plain English';
}
if (language.name === 'ipythongfm') {
if (language.name === 'ipython') {
return 'python';
}
else if (language.name === 'ipythongfm') {
return 'markdown';
}
return language.name;
Expand Down
1 change: 0 additions & 1 deletion packages/jupyter-ai/src/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export const jupyternautStatus: JupyterFrontEndPlugin<IJupyternautStatus> = {
optional: [IStatusBar],
provides: IJupyternautStatus,
activate: (app: JupyterFrontEnd, statusBar: IStatusBar | null) => {
console.log('a');
const indicator = new JupyternautStatus({ commandRegistry: app.commands });
if (statusBar) {
// Add the status item.
Expand Down

0 comments on commit 2bb095f

Please sign in to comment.