diff --git a/.github/workflows/integration-test-workflow-debian.yml b/.github/workflows/integration-test-workflow-debian.yml index eb86510aa..4b37be5cc 100644 --- a/.github/workflows/integration-test-workflow-debian.yml +++ b/.github/workflows/integration-test-workflow-debian.yml @@ -22,7 +22,6 @@ jobs: POSTGRES_HOST: ${{ secrets.POSTGRES_HOST }} POSTGRES_PORT: ${{ secrets.POSTGRES_PORT }} POSTGRES_PROJECT_NAME: ${{ secrets.POSTGRES_PROJECT_NAME }} - POSTGRES_VECS_COLLECTION: ${{ secrets.POSTGRES_VECS_COLLECTION }} steps: - uses: actions/checkout@v4 diff --git a/py/compose.full.yaml b/py/compose.full.yaml index b0c5ebf62..2290372b5 100644 --- a/py/compose.full.yaml +++ b/py/compose.full.yaml @@ -333,8 +333,7 @@ services: - POSTGRES_HOST=${POSTGRES_HOST:-postgres} - POSTGRES_PORT=${POSTGRES_PORT:-5432} - POSTGRES_DBNAME=${POSTGRES_DBNAME:-postgres} - - POSTGRES_PROJECT_NAME=${POSTGRES_PROJECT_NAME:-${CONFIG_NAME:-vecs}} - - POSTGRES_VECS_COLLECTION=${POSTGRES_VECS_COLLECTION:-${CONFIG_NAME:-vecs}} + - POSTGRES_PROJECT_NAME=${POSTGRES_PROJECT_NAME:-r2r_default} - OPENAI_API_KEY=${OPENAI_API_KEY:-} - OPENAI_API_BASE=${OPENAI_API_BASE:-} - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-} diff --git a/py/core/providers/database/postgres.py b/py/core/providers/database/postgres.py index 9911e3725..0109f17e4 100644 --- a/py/core/providers/database/postgres.py +++ b/py/core/providers/database/postgres.py @@ -75,9 +75,6 @@ def __init__( config.project_name or config.vecs_collection # remove after deprecation or os.getenv("POSTGRES_PROJECT_NAME") - or os.getenv( - "POSTGRES_VECS_COLLECTION" - ) # remove after deprecation ) if not project_name: raise ValueError(