MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / modifyChat

Function modifyChat

ui/src/api/chat/chat.ts:310–316  ·  view source on GitHub ↗
(
  chat_id,
  data,
  loading,
)

Source from the content-addressed store, hash-verified

308 * @returns
309 */
310const modifyChat: (chat_id: string, data: any, loading?: Ref<boolean>) => Promise<Result<any>> = (
311 chat_id,
312 data,
313 loading,
314) => {
315 return put(`historical_conversation/${chat_id}`, data, undefined, loading)
316}
317/**
318 * 上传文件
319 * @param file 文件

Callers

nothing calls this directly

Calls 1

putFunction · 0.90

Tested by

no test coverage detected