MCPcopy
hub / github.com/1Panel-dev/MaxKB / clearChat

Function clearChat

ui/src/api/chat/chat.ts:300–302  ·  view source on GitHub ↗
(loading)

Source from the content-addressed store, hash-verified

298 * @returns
299 */
300const clearChat: (loading?: Ref<boolean>) => Promise<Result<any>> = (loading) => {
301 return del(`historical_conversation/clear`, undefined, undefined, loading)
302}
303/**
304 *
305 * @param chat_id 对话id

Callers

nothing calls this directly

Calls 1

delFunction · 0.90

Tested by

no test coverage detected