File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export function StopButton(props: MessageFooterSectionProps): JSX.Element {
4343
4444 const onClick = ( ) => {
4545 // Post request to the stop streaming handler.
46- requestAPI ( 'chats/stop_streaming' , {
46+ requestAPI ( 'api/jupyternaut/ chats/stop_streaming' , {
4747 method : 'POST' ,
4848 body : JSON . stringify ( {
4949 message_id : message . id
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const plugin: JupyterFrontEndPlugin<void> = {
4242 activate : ( app : JupyterFrontEnd ) => {
4343 console . log ( 'JupyterLab extension @jupyter-ai/jupyternaut is activated!' ) ;
4444
45- requestAPI < any > ( 'get-example' )
45+ requestAPI < any > ( 'api/jupyternaut/ get-example' )
4646 . then ( data => {
4747 console . log ( data ) ;
4848 } )
You can’t perform that action at this time.
0 commit comments