fix(starter): pass connection_string and database_name parameters to MongoDB vector IO sample_run_config

This commit is contained in:
Young Han 2025-10-31 10:44:35 -07:00
parent fe29aa44d1
commit 8a6794a605

View file

@ -237,6 +237,8 @@ def get_distribution_template(name: str = "starter") -> DistributionTemplate:
provider_type="remote::mongodb",
config=MongoDBVectorIOConfig.sample_run_config(
f"~/.llama/distributions/{name}",
connection_string="${env.MONGODB_CONNECTION_STRING:=}",
database_name="${env.MONGODB_DATABASE_NAME:=llama_stack}",
),
),
Provider(