style: Fix ruff linting errors
- Fix bare except in chroma.py - Fix whitespace issues in test_cloud_storage.py - Auto-fixes from ruff --fix
This commit is contained in:
@@ -287,7 +287,7 @@ class ChromaAdaptor(SkillAdaptor):
|
||||
# Try to get existing collection
|
||||
collection = client.get_collection(name=collection_name)
|
||||
print(f"ℹ️ Using existing collection: {collection_name}")
|
||||
except:
|
||||
except Exception:
|
||||
try:
|
||||
# Create new collection
|
||||
metadata = {"hnsw:space": distance_function}
|
||||
|
||||
Reference in New Issue
Block a user