Skip to content

Commit

Permalink
Change type of PromptModel invocation_layer_class init param (#6497)
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanocerza authored and anakin87 committed Dec 15, 2023
1 parent 9afa66a commit fdee07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/prompt/test_prompt_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_constructor_with_no_supported_model():


@pytest.mark.unit
def test_constructor_with_invocation_layer_class_string(mock_auto_tokenizer):
def test_constructor_with_invocation_layer_class_string():
model = PromptModel(
invocation_layer_class="haystack.nodes.prompt.invocation_layer.CohereInvocationLayer", api_key="fake_api_key"
)
Expand Down

0 comments on commit fdee07f

Please sign in to comment.