[BugFix] Fix MultiConnector test after HMA changes (#19291)

Signed-off-by: Nick Hill <nhill@redhat.com>
This commit is contained in:
Nick Hill
2025-06-06 13:16:24 -07:00
committed by GitHub
parent 94ecee6282
commit aad30bd306
3 changed files with 14 additions and 9 deletions

View File

@@ -61,6 +61,10 @@ class KVCacheBlocks:
if block.block_hash is None
]
def new_empty(self) -> "KVCacheBlocks":
"""Creates a new KVCacheBlocks instance with no blocks."""
return KVCacheBlocks([[] for _ in range(len(self.blocks))])
class KVCacheManager: