MCPcopy Create free account
hub / github.com/Noumena-Network/code / handleSkippedLocalQueryTurn

Function handleSkippedLocalQueryTurn

src/session/localQueryTurnState.ts:56–72  ·  view source on GitHub ↗
(
  options: HandleSkippedLocalQueryTurnOptions,
)

Source from the content-addressed store, hash-verified

54}
55
56export function handleSkippedLocalQueryTurn(
57 options: HandleSkippedLocalQueryTurnOptions,
58): void {
59 const {
60 newMessages,
61 resetLoadingState,
62 setAbortController,
63 onCompactBoundary,
64 } = options
65
66 if (newMessages.some(isCompactBoundaryMessage)) {
67 onCompactBoundary?.()
68 }
69
70 resetLoadingState()
71 setAbortController(null)
72}

Calls

no outgoing calls

Tested by

no test coverage detected