fix: Allow specification of api endpoint as fallback when token lacks permissions (#5879)

* fix: Allow direct specification of api_endpoint on oss

* Update astradb.py

* Update Vector Store RAG.json

* Add vector store rag template updates

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Eric Hare 2025-01-22 15:59:03 -08:00 committed by GitHub
commit c479615b1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 169 additions and 159 deletions

View file

@ -127,7 +127,9 @@ class AstraDBVectorStoreComponent(LCVectorStoreComponent):
name="api_endpoint",
display_name="API Endpoint",
info="The API endpoint for the Astra DB instance.",
show=os.getenv("LANGFLOW_HOST") is not None, # TODO: Clean up all examples of these
advanced=os.getenv("LANGFLOW_HOST") is None, # TODO: Clean up all examples of these
refresh_button=True,
real_time_refresh=True,
),
DropdownInput(
name="database_name",

File diff suppressed because one or more lines are too long