From 90db42ce3a8c3a51ab4f1f2efcf9b76720a2a4b1 Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Tue, 25 Mar 2025 16:08:59 +0530 Subject: [PATCH] Revert "(fix:sources) preloaded docs have ids too" This reverts commit 02c8bd06f54a53ba8d705252e22696a5b8e82e47. --- application/api/user/routes.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/application/api/user/routes.py b/application/api/user/routes.py index 1f0240e5..f3599c7e 100644 --- a/application/api/user/routes.py +++ b/application/api/user/routes.py @@ -649,7 +649,6 @@ class CombinedJson(Resource): user = decoded_token.get("sub") data = [ { - "id": "default", "name": "Default", "date": "default", "model": settings.EMBEDDINGS_NAME, @@ -677,7 +676,6 @@ class CombinedJson(Resource): if "duckduck_search" in settings.RETRIEVERS_ENABLED: data.append( { - "id": "duckduck_search", "name": "DuckDuckGo Search", "date": "duckduck_search", "model": settings.EMBEDDINGS_NAME, @@ -690,7 +688,6 @@ class CombinedJson(Resource): if "brave_search" in settings.RETRIEVERS_ENABLED: data.append( { - "id": "brave_search", "name": "Brave Search", "language": "en", "date": "brave_search",