From c9f9d448bd4cbe5f5f78f511ddb68361003c4f65 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Tue, 5 Dec 2023 13:00:57 -0500 Subject: [PATCH] x --- libs/langchain/langchain/llms/arcee.py | 1 - libs/langchain/tests/integration_tests/llms/test_arcee.py | 5 ----- 2 files changed, 6 deletions(-) diff --git a/libs/langchain/langchain/llms/arcee.py b/libs/langchain/langchain/llms/arcee.py index 13745884a5778..6e364812848b0 100644 --- a/libs/langchain/langchain/llms/arcee.py +++ b/libs/langchain/langchain/llms/arcee.py @@ -73,7 +73,6 @@ def __init__(self, **data: Any) -> None: model_kwargs=self.model_kwargs, model_name=self.model, ) - self._client.validate_model_training_status() @root_validator(pre=False) def validate_environments(cls, values: Dict) -> Dict: diff --git a/libs/langchain/tests/integration_tests/llms/test_arcee.py b/libs/langchain/tests/integration_tests/llms/test_arcee.py index 0598c824aa7df..be4e40e1e79ff 100644 --- a/libs/langchain/tests/integration_tests/llms/test_arcee.py +++ b/libs/langchain/tests/integration_tests/llms/test_arcee.py @@ -69,8 +69,3 @@ def test_api_key_masked_when_passed_from_env( captured = capsys.readouterr() assert "**********" == captured.out - - -def test_api_key_is_secret_string() -> None: - llm = Arcee(model="DALM-PubMed", arcee_api_key="test-arcee-api-key") - assert isinstance(llm.arcee_api_key, SecretStr)