pull/5386/head
STetsing 2 weeks ago committed by Aniket
parent eb878ff000
commit bb66709c1d
  1. 1
      libs/remix-ui/editor/src/lib/remix-ui-editor.tsx

@ -829,7 +829,6 @@ export const EditorUI = (props: EditorUIProps) => {
const file = await props.plugin.call('fileManager', 'getCurrentFile')
const context = await props.plugin.call('fileManager', 'readFile', file)
const message = intl.formatMessage({ id: 'editor.explainFunctionByAI' }, { content:context, currentFunction: currentFunction.current })
await props.plugin.call('popupPanel', 'showPopupPanel', true)
setTimeout(async () => {
await props.plugin.call('remixAI' as any, 'chatPipe', 'code_explaining', message, context)

Loading…
Cancel
Save