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

Method showSelectAgent

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

Source from the content-addressed store, hash-verified

1610}
1611
1612void LLMChatUI::showSelectAgent() {
1613 if ( getPlugin() == nullptr )
1614 return;
1615 hideAttachFile();
1616 hideSelectModel();
1617
1618 if ( nullptr == mLocateAgentTable->getModel() )
1619 loadSelectAgent();
1620
1621 static_cast<ACPAgentsModel*>( mLocateAgentTable->getModel() )
1622 ->setFilter( mLocateAgentInput->getText().toUtf8() );
1623 mLocateAgentBarLayout->setVisible( true );
1624 mLocateAgentInput->setFocus();
1625 updateLocateAgentBarColumns();
1626}
1627
1628void LLMChatUI::hideSelectAgent() {
1629 mLocateAgentBarLayout->setVisible( false );

Callers

nothing calls this directly

Calls 6

toUtf8Method · 0.80
getModelMethod · 0.45
setFilterMethod · 0.45
getTextMethod · 0.45
setVisibleMethod · 0.45
setFocusMethod · 0.45

Tested by

no test coverage detected