MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / messageCount

Method messageCount

app/src/AI/Conversation.cpp:2535–2538  ·  view source on GitHub ↗

* @brief Returns the number of UI message rows in the conversation. */

Source from the content-addressed store, hash-verified

2533 * @brief Returns the number of UI message rows in the conversation.
2534 */
2535int AI::Conversation::messageCount() const noexcept
2536{
2537 return static_cast<int>(m_uiMessages.size());
2538}
2539
2540//--------------------------------------------------------------------------------------------------
2541// Context-window budgeting

Callers 3

~AssistantMethod · 0.45
newChatMethod · 0.45
persistActiveChatMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected