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

Function getCachedConverseInfo

client/shared/cache/cache.ts:54–63  ·  view source on GitHub ↗
(
  converseId: string
)

Source from the content-addressed store, hash-verified

52 * 获取缓存的会话信息
53 */
54export async function getCachedConverseInfo(
55 converseId: string
56): Promise<ChatConverseInfo> {
57 const data = await queryClient.fetchQuery(
58 [CacheKey.converse, converseId],
59 () => fetchConverseInfo(converseId)
60 );
61
62 return data;
63}
64
65/**
66 * 获取缓存的邀请码信息

Callers 3

initialFunction · 0.90
listenNotifyFunction · 0.90
ensureDMConverseFunction · 0.90

Calls 1

fetchConverseInfoFunction · 0.90

Tested by

no test coverage detected