(
userMessageIndex: number,
block: import('./cachedMicrocompact.js').CacheEditsBlock,
)
| 109 | * Called after inserting new edits so they are re-sent in subsequent calls. |
| 110 | */ |
| 111 | export function pinCacheEdits( |
| 112 | userMessageIndex: number, |
| 113 | block: import('./cachedMicrocompact.js').CacheEditsBlock, |
| 114 | ): void { |
| 115 | if (cachedMCState) { |
| 116 | cachedMCState.pinnedEdits.push({ userMessageIndex, block }) |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | /** |
| 121 | * Marks all registered tools as sent to the API. |
no test coverage detected