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

Method initialize

src/plugins/chat/chat.cpp:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26using namespace dpfservice;
27
28void ChatPlugin::initialize()
29{
30 // load Ai service.
31 QString errStr;
32 auto &ctx = dpfInstance.serviceContext();
33 if (!ctx.load(AiService::name(), &errStr)) {
34 qCritical() << errStr;
35 }
36}
37
38bool ChatPlugin::start()
39{

Callers

nothing calls this directly

Calls 2

nameFunction · 0.50
loadMethod · 0.45

Tested by

no test coverage detected