From d8849f0b956e075841aeb4fcaf10c45a29ad45b3 Mon Sep 17 00:00:00 2001 From: Young Han Date: Fri, 31 Oct 2025 11:21:07 -0700 Subject: [PATCH] fix: add default to pass pydantic error --- llama_stack/providers/remote/vector_io/mongodb/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llama_stack/providers/remote/vector_io/mongodb/config.py b/llama_stack/providers/remote/vector_io/mongodb/config.py index c90ac0ff1..07f3d66eb 100644 --- a/llama_stack/providers/remote/vector_io/mongodb/config.py +++ b/llama_stack/providers/remote/vector_io/mongodb/config.py @@ -24,7 +24,8 @@ class MongoDBVectorIOConfig(BaseModel): # MongoDB Atlas connection details connection_string: str = Field( - description="MongoDB Atlas connection string (e.g., mongodb+srv://user:pass@cluster.mongodb.net/)" + default="", + description="MongoDB Atlas connection string (e.g., mongodb+srv://user:pass@cluster.mongodb.net/)", ) database_name: str = Field(default="llama_stack", description="Database name to use for vector collections")