MCPcopy Create free account
hub / github.com/xerrors/Yuxi / resetThreadUiState

Function resetThreadUiState

web/src/composables/useAgentThreadState.js:15–19  ·  view source on GitHub ↗
(threadState)

Source from the content-addressed store, hash-verified

13 onBeforeCleanupThread = null
14}) {
15 const resetThreadUiState = (threadState) => {
16 if (!threadState) return
17 threadState.replyLoadingVisible = false
18 threadState.pendingRequestId = null
19 }
20
21 const getThreadState = (threadId) => {
22 if (!threadId) return null

Callers 1

resetOnGoingConvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected