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

Function retryMessage

ui/src/composables/useChat.ts:252–256  ·  view source on GitHub ↗
(message: Message)

Source from the content-addressed store, hash-verified

250
251 // 重试消息
252 const retryMessage = async (message: Message) => {
253 if (message.type === "text" && message.role === "user") {
254 await sendMessage(message.content.text);
255 }
256 };
257
258 // 删除消息
259 const deleteMessage = (messageId: string) => {

Callers

nothing calls this directly

Calls 1

sendMessageFunction · 0.70

Tested by

no test coverage detected