"use strict";(self.webpackChunkpergamon_server_extension=self.webpackChunkpergamon_server_extension||[]).push([[509],{509:(e,n,t)=>{t.r(n),t.d(n,{default:()=>o});const o={id:"pergamon_server_extension:plugin",description:"Calliope server extension",requires:[t(263).INotebookTracker],autoStart:!0,activate:(e,n)=>{console.log("JupyterLab extension pergamon_server_extension is activated!"),n.widgetAdded.connect(((e,n)=>{n.sessionContext.ready.then((()=>{const e=n.sessionContext.session;(null==e?void 0:e.kernel)&&e.kernel.requestExecute({code:"\n%load_ext jupyter_ai\n%ai register anthropic-chat anthropic-chat:claude-2.0\n%ai register native-cohere cohere:command\n%ai register bedrock-cohere bedrock:cohere.command-text-v14\n%ai register anthropic anthropic:claude-v1\n%ai register bedrock bedrock:amazon.titan-text-lite-v1\n%ai register gemini gemini:gemini-1.0-pro-001\n%ai register gpto openai-chat:gpt-4o\n%ai delete ernie-bot\n%ai delete ernie-bot-4\n%ai delete titan\n%load_ext pergamon_server_extension\n"}).done.then((()=>{console.log("Extension loaded successfully")}))}))})),new MutationObserver(((e,n)=>{const t=document.querySelector(".jp-Splash");t&&(t.remove(),n.disconnect())})).observe(document.body,{childList:!0,subtree:!0})}}}}]);