diff --git a/llama_stack/distribution/routers/routing_tables.py b/llama_stack/distribution/routers/routing_tables.py index d7f6f6c4c..68fafd8ee 100644 --- a/llama_stack/distribution/routers/routing_tables.py +++ b/llama_stack/distribution/routers/routing_tables.py @@ -185,9 +185,7 @@ class CommonRoutingTableImpl(RoutingTable): obj.provider_id = list(self.impls_by_provider_id.keys())[0] if obj.provider_id not in self.impls_by_provider_id: - raise ValueError( - f"Provider `{obj.provider_id}` not found \navailable providers: {self.impls_by_provider_id.keys()}" - ) + raise ValueError(f"Provider `{obj.provider_id}` not found") p = self.impls_by_provider_id[obj.provider_id] @@ -337,7 +335,6 @@ class VectorDBsRoutingTable(CommonRoutingTableImpl, VectorDBs): "embedding_model": embedding_model, "embedding_dimension": model.metadata["embedding_dimension"], } - print(f"Registering vector db {vector_db_data} with embedding model {embedding_model}") vector_db = TypeAdapter(VectorDB).validate_python(vector_db_data) await self.register_object(vector_db) return vector_db diff --git a/llama_stack/providers/inline/vector_io/sqlite_vec/sqlite_vec.py b/llama_stack/providers/inline/vector_io/sqlite_vec/sqlite_vec.py index a543430da..91a3fa9e0 100644 --- a/llama_stack/providers/inline/vector_io/sqlite_vec/sqlite_vec.py +++ b/llama_stack/providers/inline/vector_io/sqlite_vec/sqlite_vec.py @@ -49,7 +49,6 @@ class SQLiteVecIndex(EmbeddingIndex): async def initialize(self) -> None: cur = self.connection.cursor() - print(f"Creating tables {self.metadata_table} and {self.vector_table}") # Create the table to store chunk metadata. cur.execute(f""" CREATE TABLE IF NOT EXISTS {self.metadata_table} ( @@ -135,7 +134,6 @@ class SQLiteVecVectorIOImpl(VectorIO, VectorDBsProtocolPrivate): async def initialize(self) -> None: # Open a connection to the SQLite database (the file is specified in the config). - print(f"Connecting to SQLite database at {self.config.db_path}") self.connection = sqlite3.connect(self.config.db_path) self.connection.enable_load_extension(True) sqlite_vec.load(self.connection)