This PR changes the interface of the function
CommitAcceptedTokenTreeNodeToKVCache introduced recently for PagedKVCache to a stateless interface. Previously the interace is a stateful one, which makes strong assumption on the caller side. This commit removes the assumption so that the interface becomes less confusing.
This PR changes the interface of the function
CommitAcceptedTokenTreeNodeToKVCache
introduced recently for PagedKVCache to a stateless interface. Previously the interace is a stateful one, which makes strong assumption on the caller side. This commit removes the assumption so that the interface becomes less confusing.