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

Method list

app/src/AI/ChatStore.cpp:75–87  ·  view source on GitHub ↗

* @brief Returns chat metadata rows for QML in stable creation order (newest first); chats are * never reordered on activity. */

Source from the content-addressed store, hash-verified

73 * never reordered on activity.
74 */
75QVariantList AI::ChatStore::list() const
76{
77 QVariantList out;
78 for (const auto& meta : m_chats) {
79 QVariantMap row;
80 row[QStringLiteral("id")] = meta.id;
81 row[QStringLiteral("title")] = meta.title;
82 row[QStringLiteral("updatedAt")] = meta.updatedAt;
83 row[QStringLiteral("count")] = meta.count;
84 out.append(row);
85 }
86 return out;
87}
88
89/**
90 * @brief Returns true when no chats exist yet.

Callers 4

chatListMethod · 0.45
deleteChatMethod · 0.45
initChatsMethod · 0.45
executeFsToolFunction · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected