Revert "(fix:sources) preloaded docs have ids too"

This reverts commit 02c8bd06f5.
This commit is contained in:
ManishMadan2882
2025-03-25 16:08:59 +05:30
parent 551130f0e1
commit 90db42ce3a

View File

@@ -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",