MCPcopy Index your code
hub / github.com/sqlchat/sqlchat / getDefaultConversation

Function getDefaultConversation

src/store/conversation.ts:8–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import { SQLChatBotId } from ".";
7
8const getDefaultConversation = (): Conversation => {
9 return {
10 id: generateUUID(),
11 assistantId: SQLChatBotId,
12 title: dayjs().format("LTS"),
13 createdAt: Date.now(),
14 };
15};
16
17interface ConversationState {
18 getState: () => ConversationState;

Callers 1

conversation.tsFile · 0.85

Calls 1

generateUUIDFunction · 0.90

Tested by

no test coverage detected