MCPcopy Create free account
hub / github.com/astercloud/aster / createUserMessage

Function createUserMessage

ui/src/stores/chat.ts:106–108  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

104 * 创建用户消息
105 */
106 const createUserMessage = (text: string): TextMessage => {
107 return addTextMessage("user", text);
108 };
109
110 /**
111 * 创建助手消息占位符

Callers

nothing calls this directly

Calls 1

addTextMessageFunction · 0.85

Tested by

no test coverage detected