Skip to content

Commit

Permalink
reno
Browse files Browse the repository at this point in the history
  • Loading branch information
shadeMe committed Jun 7, 2024
1 parent d6ea088 commit 4529697
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
fixes:
- |
Correctly serialize tuples and types in the init parameters of the `LLMEvaluator` component and its subclasses.
3 changes: 2 additions & 1 deletion test/components/evaluators/test_llm_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ def test_to_dict_with_parameters(self, monkeypatch):
},
}

def test_serde(self):
def test_serde(self, monkeypatch):
monkeypatch.setenv("OPENAI_API_KEY", "test-api-key")
pipeline = Pipeline()
component = LLMEvaluator(
instructions="test-instruction",
Expand Down

0 comments on commit 4529697

Please sign in to comment.