UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

10 lines (8 loc) 300 B
import { ControllerModule, ipcClientEvent } from './index'; export default class DevtoolsCtr extends ControllerModule { @ipcClientEvent('openDevtools') async openDevtools() { const devtoolsBrowser = this.app.browserManager.retrieveByIdentifier('devtools'); devtoolsBrowser.show(); } }