feat: add datastax components bundle (#8184)

* feat: add datastax components bundle

* Update __init__.py

* Remove old astra assistants folder

* Remove old tools

* Update __init__.py

* Update test_assistants_components.py

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
This commit is contained in:
Eric Hare 2025-05-22 10:52:40 -07:00 committed by GitHub
commit 6660df1fe0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,6 @@
from .astra_assistant_manager import AstraAssistantManager
from .astradb_cql import AstraDBCQLToolComponent
from .astradb_tool import AstraDBToolComponent
from .create_assistant import AssistantsCreateAssistant
from .create_thread import AssistantsCreateThread
from .dotenv import Dotenv
@ -14,6 +16,8 @@ __all__ = [
"AssistantsListAssistants",
"AssistantsRun",
"AstraAssistantManager",
"AstraDBCQLToolComponent",
"AstraDBToolComponent",
"Dotenv",
"GetEnvVar",
]

View file

@ -35,13 +35,9 @@ from .yahoo_finance import YfinanceToolComponent
with warnings.catch_warnings():
warnings.simplefilter("ignore", LangChainDeprecationWarning)
from .astradb import AstraDBToolComponent
from .astradb_cql import AstraDBCQLToolComponent
__all__ = [
"ArXivComponent",
"AstraDBCQLToolComponent",
"AstraDBToolComponent",
"BingSearchAPIComponent",
"CalculatorComponent",
"CalculatorToolComponent",

View file

@ -1,5 +1,5 @@
import pytest
from langflow.components.astra_assistants import (
from langflow.components.datastax import (
AssistantsCreateAssistant,
AssistantsCreateThread,
AssistantsGetAssistantName,

View file

@ -243,7 +243,7 @@ export const SIDEBAR_BUNDLES = [
{ display_name: "AssemblyAI", name: "assemblyai", icon: "AssemblyAI" },
{
display_name: "DataStax",
name: "astra_assistants",
name: "datastax",
icon: "AstraDB",
},
{ display_name: "Olivya", name: "olivya", icon: "Olivya" },