fix: Fix Astra API Endpoint Display Name (#3962)

Fix Astra API Endpoint Display  Name
This commit is contained in:
Mike Fortman 2024-09-30 14:31:33 -05:00 committed by GitHub
commit 4eb6bd17bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -71,7 +71,7 @@ class AstraVectorStoreComponent(LCVectorStoreComponent):
),
SecretStrInput(
name="api_endpoint",
display_name="API Endpoint",
display_name="Database" if os.getenv("ASTRA_ENHANCED", "false").lower() == "true" else "API Endpoint",
info="API endpoint URL for the Astra DB service.",
value="ASTRA_DB_API_ENDPOINT",
required=True,

File diff suppressed because one or more lines are too long