Merge pull request #865 from CREDO23/sur-182-fix-ux-experience-for-composio-google-drive-connector

[Perf] Batch embedding, non-blocking search, chunks index & Google Drive UX fix
This commit is contained in:
Rohan Verma 2026-03-10 12:52:16 -07:00 committed by GitHub
commit 547077e5b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 183 additions and 108 deletions

View file

@ -265,8 +265,8 @@ def _mock_external_apis(monkeypatch):
AsyncMock(return_value="Mocked summary."),
)
monkeypatch.setattr(
"app.indexing_pipeline.indexing_pipeline_service.embed_text",
MagicMock(return_value=[0.1] * _EMBEDDING_DIM),
"app.indexing_pipeline.indexing_pipeline_service.embed_texts",
MagicMock(side_effect=lambda texts: [[0.1] * _EMBEDDING_DIM for _ in texts]),
)
monkeypatch.setattr(
"app.indexing_pipeline.indexing_pipeline_service.chunk_text",