MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / apiUrl

Function apiUrl

apps/webuiapps/src/lib/chatHistoryStorage.ts:32–34  ·  view source on GitHub ↗
(sessionPath: string, file: string)

Source from the content-addressed store, hash-verified

30const API_PATH = '/api/session-data';
31
32function apiUrl(sessionPath: string, file: string): string {
33 return `${API_PATH}?path=${encodeURIComponent(`${sessionPath}/chat/${file}`)}`;
34}
35
36export async function loadChatHistory(sessionPath: string): Promise<ChatHistoryData | null> {
37 try {

Callers 3

loadChatHistoryFunction · 0.70
saveChatHistoryFunction · 0.70
clearChatHistoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected