forked from innovacion/searchbox
Rename package to searchbox
This commit renames the package from vector-search-mcp to searchbox. The package imports and executable name are updated accordingly.
This commit is contained in:
@@ -2,8 +2,8 @@ from typing import Any
|
||||
|
||||
import pytest
|
||||
|
||||
from vector_search_mcp.engine.base_engine import BaseEngine
|
||||
from vector_search_mcp.models import Condition, Match, MatchAny, SearchRow
|
||||
from searchbox.engine.base_engine import BaseEngine
|
||||
from searchbox.models import Condition, Match, MatchAny, SearchRow
|
||||
|
||||
|
||||
class MockEngine(BaseEngine[dict[str, Any], str, dict]):
|
||||
@@ -241,7 +241,7 @@ class IncompleteEngine(BaseEngine[str, int, str]):
|
||||
async def test_upload_chunk_workflow(self):
|
||||
"""Test the complete upload_chunk workflow"""
|
||||
engine = MockEngine()
|
||||
from vector_search_mcp.models import Chunk, ChunkData
|
||||
from searchbox.models import Chunk, ChunkData
|
||||
|
||||
chunk = Chunk(
|
||||
id="test-chunk-1",
|
||||
|
||||
Reference in New Issue
Block a user