MCPcopy Create free account
hub / github.com/SpartanJ/eepp / loadSelectAgent

Method loadSelectAgent

src/tools/ecode/plugins/aiassistant/chatui.cpp:1603–1610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1601}
1602
1603void LLMChatUI::loadSelectAgent() {
1604 auto ctx = getPlugin()->getPluginContext();
1605 mLocateAgentTable->setModel(
1606 std::make_shared<ACPAgentsModel>( mAgents, ctx->getUISceneNode() ) );
1607
1608 static_cast<ACPAgentsModel*>( mLocateAgentTable->getModel() )
1609 ->setFilter( mLocateAgentInput->getText().toUtf8() );
1610}
1611
1612void LLMChatUI::showSelectAgent() {
1613 if ( getPlugin() == nullptr )

Callers

nothing calls this directly

Calls 7

toUtf8Method · 0.80
getPluginContextMethod · 0.45
setModelMethod · 0.45
getUISceneNodeMethod · 0.45
setFilterMethod · 0.45
getModelMethod · 0.45
getTextMethod · 0.45

Tested by

no test coverage detected