diff --git a/.github/workflows/community_greetings.yml b/.github/workflows/community_greetings.yml index a43f7f549..6e343865e 100644 --- a/.github/workflows/community_greetings.yml +++ b/.github/workflows/community_greetings.yml @@ -1,6 +1,14 @@ name: community | Greetings -on: [pull_request, issues] +on: + issues: + types: [opened] + pull_request_target: + types: [opened] + +permissions: + issues: write + pull-requests: write jobs: greeting: diff --git a/cognee-mcp/src/test_client.py b/cognee-mcp/src/test_client.py index 0fa282a09..23160d8b2 100755 --- a/cognee-mcp/src/test_client.py +++ b/cognee-mcp/src/test_client.py @@ -57,7 +57,7 @@ class CogneeTestClient: print(" Some tests may fail without proper LLM API configuration.") print(" Set OPENAI_API_KEY environment variable for full functionality.") else: - print(f"✅ API key configured (key ending in: ...{api_key[-4:]})") + print("✅ API key configured.") # Create temporary test files self.test_data_dir = tempfile.mkdtemp(prefix="cognee_test_") diff --git a/cognee/infrastructure/databases/graph/kuzu/kuzu_migrate.py b/cognee/infrastructure/databases/graph/kuzu/kuzu_migrate.py index 3f930d91f..f36b2ec66 100644 --- a/cognee/infrastructure/databases/graph/kuzu/kuzu_migrate.py +++ b/cognee/infrastructure/databases/graph/kuzu/kuzu_migrate.py @@ -74,7 +74,7 @@ def read_kuzu_storage_version(kuzu_db_path: str) -> int: if kuzu_version_mapping.get(version_code): return kuzu_version_mapping[version_code] else: - ValueError("Could not map version_code to proper Kuzu version.") + raise ValueError("Could not map version_code to proper Kuzu version.") def ensure_env(version: str, export_dir) -> str: