Skip to content

Commit bea930c

Browse files
committed
Remove unused health endpoint check from frontend
The health endpoint was removed when RouteHandler was deleted, so the frontend no longer needs to check it on activation.
1 parent fac6f66 commit bea930c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/index.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import {
33
JupyterFrontEndPlugin
44
} from '@jupyterlab/application';
55

6-
import { requestAPI } from './handler';
7-
86
/**
97
* Initialization data for the @jupyter-ai/persona-manager extension.
108
*/
@@ -16,16 +14,6 @@ const plugin: JupyterFrontEndPlugin<void> = {
1614
console.log(
1715
'JupyterLab extension @jupyter-ai/persona-manager is activated!'
1816
);
19-
20-
requestAPI<any>('health')
21-
.then(data => {
22-
console.log(data);
23-
})
24-
.catch(reason => {
25-
console.error(
26-
`The jupyter_ai_persona_manager server extension appears to be missing.\n${reason}`
27-
);
28-
});
2917
}
3018
};
3119

0 commit comments

Comments
 (0)