From 07dbff73aa521ae25c6bb0952069665fcb7a757a Mon Sep 17 00:00:00 2001 From: Jules Belveze <32683010+JulesBelveze@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:52:09 +0100 Subject: [PATCH] [core] - feature: expand Qdrant data source options (#9629) - Added EUCluster0 as an additional Qdrant data source option to the existing cluster variants --- core/src/data_sources/qdrant.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/data_sources/qdrant.rs b/core/src/data_sources/qdrant.rs index da2df860d76b..83a9b45d54f6 100644 --- a/core/src/data_sources/qdrant.rs +++ b/core/src/data_sources/qdrant.rs @@ -30,7 +30,8 @@ pub enum QdrantCluster { // See: https://www.notion.so/dust-tt/Design-Doc-Qdrant-re-arch-d0ebdd6ae8244ff593cdf10f08988c27 pub const SHARD_KEY_COUNT: u64 = 24; -static QDRANT_CLUSTER_VARIANTS: &[QdrantCluster] = &[QdrantCluster::Cluster0]; +static QDRANT_CLUSTER_VARIANTS: &[QdrantCluster] = + &[QdrantCluster::Cluster0, QdrantCluster::EUCluster0]; impl fmt::Display for QdrantCluster { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {