MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / startInlineChat

Method startInlineChat

src/plugins/chat/copilot.cpp:244–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void Copilot::startInlineChat()
245{
246 editorService->closeLineWidget();
247 editorService->clearAllEOLAnnotation(lineChatTip);
248 if (!inlineChatWidget) {
249 inlineChatWidget = new InlineChatWidget;
250 connect(inlineChatWidget, &InlineChatWidget::destroyed, this, [this] { inlineChatWidget = nullptr; });
251 }
252
253 inlineChatWidget->setLLM(copilotLLM);
254 inlineChatWidget->start();
255}

Callers

nothing calls this directly

Calls 5

connectFunction · 0.85
closeLineWidgetMethod · 0.45
clearAllEOLAnnotationMethod · 0.45
setLLMMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected