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

Method close

ui/src/api/type/application.ts:512–517  ·  view source on GitHub ↗

* 等待所有数据输出完毕后 才会关闭流 * @param chatRecordId 对话记录id * @returns boolean

(chatRecordId: string)

Source from the content-addressed store, hash-verified

510 * @returns boolean
511 */
512 static close(chatRecordId: string) {
513 const chatRecord = this.chatMessageContainer[chatRecordId]
514 if (chatRecord) {
515 chatRecord.close()
516 }
517 }
518
519 /**
520 * 停止输出 立即关闭定时任务输出

Callers 15

sendMethod · 0.45
handle_task_endMethod · 0.45
handle_task_endMethod · 0.45
get_index_htmlFunction · 0.45
sql_executeFunction · 0.45
re_index_databaseFunction · 0.45
get_embedMethod · 0.45
get_url_contentFunction · 0.45
import_knowledgeMethod · 0.45
zip_dirFunction · 0.45
exportMethod · 0.45
table_exportMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected