unpinMessage
function unpinMessage(messages, index): void;Defined in: src/conversation-manager/pin-message.ts:100
Unpin a message so it can be evicted during context reduction.
Mutates the message in place by removing the pinned flag from metadata.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
messages | Message[] | The messages array containing the message to unpin. |
index | number | The index of the message to unpin. |
Returns
Section titled “Returns”void