MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / getAIChat

Method getAIChat

src/services/ai/types.ts:118–118  ·  view source on GitHub ↗
(aiChatId: string)

Source from the content-addressed store, hash-verified

116export interface AIAdapter {
117 // ===== 对话管理 =====
118 getAIChat(aiChatId: string): Promise<AIChat | null>
119 getAIChats(sessionId: string): Promise<AIChat[]>
120 createAIChat(sessionId: string, title: string | undefined, assistantId: string): Promise<AIChat>
121 updateAIChatTitle(aiChatId: string, title: string): Promise<boolean>

Callers 5

registerAiChatRoutesFunction · 0.65
chats.test.tsFile · 0.65
getAIChatFunction · 0.65
resolveAIChatTargetFunction · 0.65
loadAIChatFunction · 0.65

Implementers 1

FetchAIAdaptersrc/services/ai/fetch.ts

Calls

no outgoing calls

Tested by

no test coverage detected