diff --git a/dbgpt/serve/rag/connector.py b/dbgpt/serve/rag/connector.py index da4fa785e..d4a76ffc8 100644 --- a/dbgpt/serve/rag/connector.py +++ b/dbgpt/serve/rag/connector.py @@ -3,7 +3,6 @@ import copy import logging import os -import chromadb from collections import defaultdict from typing import Any, DefaultDict, Dict, List, Optional, Tuple, Type, cast @@ -225,7 +224,6 @@ def delete_vector_name(self, vector_name: str): try: if self.vector_name_exists(): self.client.delete_vector_name(vector_name) - chromadb.api.client.SharedSystemClient.clear_system_cache() del pools[self._vector_store_type][vector_name] except Exception as e: logger.error(f"delete vector name {vector_name} failed: {e}")