| 242 | } |
| 243 | |
| 244 | void 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 | } |
nothing calls this directly
no test coverage detected