Drop Python 3.13 from tests and reformat code
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.12', '3.13', '3.14']
|
||||
python-version: ['3.12', '3.14']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
@@ -2359,7 +2359,9 @@ class PGVectorStorage(BaseVectorStorage):
|
||||
workspace_count = (
|
||||
workspace_count_result.get("count", 0) if workspace_count_result else 0
|
||||
)
|
||||
if workspace_count == 0 and not (table_name.lower() == legacy_table_name.lower()):
|
||||
if workspace_count == 0 and not (
|
||||
table_name.lower() == legacy_table_name.lower()
|
||||
):
|
||||
logger.warning(
|
||||
f"PostgreSQL: workspace data in table '{table_name}' is empty. "
|
||||
f"Ensure it is caused by new workspace setup and not an unexpected embedding model change."
|
||||
|
||||
Reference in New Issue
Block a user