MCPcopy Create free account
hub / github.com/msgbyte/tailchat / fetchConverseMessage

Function fetchConverseMessage

client/shared/model/message.ts:48–60  ·  view source on GitHub ↗
(
  converseId: string,
  startId?: string
)

Source from the content-addressed store, hash-verified

46 * @param startId 开始ID
47 */
48export async function fetchConverseMessage(
49 converseId: string,
50 startId?: string
51): Promise<ChatMessage[]> {
52 const { data } = await request.get('/api/chat/message/fetchConverseMessage', {
53 params: {
54 converseId,
55 startId,
56 },
57 });
58
59 return data;
60}
61
62/**
63 * 发送消息

Callers 1

useConverseMessageFunction · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected