Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions surfsense_backend/app/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
from sqlalchemy.orm import DeclarativeBase, Mapped, declared_attr, relationship

from app.config import config
from app.retriver.chunks_hybrid_search import ChucksHybridSearchRetriever
from app.retriver.documents_hybrid_search import DocumentHybridSearchRetriever
from app.retriever.chunks_hybrid_search import ChucksHybridSearchRetriever
Copy link

Copilot AI Dec 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The imported class name ChucksHybridSearchRetriever contains a spelling error. It should be ChunksHybridSearchRetriever (Chunks, not Chucks). This import should reference the correctly spelled class name.

Suggested change
from app.retriever.chunks_hybrid_search import ChucksHybridSearchRetriever
from app.retriever.chunks_hybrid_search import ChunksHybridSearchRetriever

Copilot uses AI. Check for mistakes.
from app.retriever.documents_hybrid_search import DocumentHybridSearchRetriever

if config.AUTH_TYPE == "GOOGLE":
from fastapi_users.db import SQLAlchemyBaseOAuthAccountTableUUID
Expand Down
4 changes: 2 additions & 2 deletions surfsense_backend/app/services/connector_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
SearchSourceConnector,
SearchSourceConnectorType,
)
from app.retriver.chunks_hybrid_search import ChucksHybridSearchRetriever
from app.retriver.documents_hybrid_search import DocumentHybridSearchRetriever
from app.retriever.chunks_hybrid_search import ChucksHybridSearchRetriever
Copy link

Copilot AI Dec 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The imported class name ChucksHybridSearchRetriever contains a spelling error. It should be ChunksHybridSearchRetriever (Chunks, not Chucks). This import should reference the correctly spelled class name.

Copilot uses AI. Check for mistakes.
from app.retriever.documents_hybrid_search import DocumentHybridSearchRetriever


class ConnectorService:
Expand Down