Skip to content

The agent engineering platform.

community: Fix SparkLLM error (#18015)

Guangdong Liu4197efd67a44
diff --git a/libs/community/langchain_community/llms/__init__.py b/libs/community/langchain_community/llms/__init__.py
index 42cd3f0c27..e894e76db0 100644
--- a/libs/community/langchain_community/llms/__init__.py
+++ b/libs/community/langchain_community/llms/__init__.py
@@ -959,5 +959,5 @@ def get_type_to_cls_dict() -> Dict[str, Callable[[], Type[BaseLLM]]]:
"yandex_gpt": _import_yandex_gpt,
"yuan2": _import_yuan2,
"VolcEngineMaasLLM": _import_volcengine_maas,
- "SparkLLM": _import_sparkllm(),
+ "SparkLLM": _import_sparkllm,
}