File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ def test_flow_eval_works_with_callable(
256256 file = {
257257 "id" : flow .id ,
258258 "type" : "flow" ,
259- "callable" : lambda inputs : "bar" ,
259+ "callable" : lambda question : "bar" ,
260260 },
261261 dataset = {
262262 "path" : eval_dataset .file_path ,
@@ -288,7 +288,7 @@ def test_cannot_evaluate_agent_with_callable(
288288 file = {
289289 "path" : "Test Agent" ,
290290 "type" : "agent" ,
291- "callable" : lambda inputs : "bar" ,
291+ "callable" : lambda question : "bar" ,
292292 },
293293 dataset = {
294294 "path" : eval_dataset .file_path ,
@@ -323,7 +323,7 @@ def test_flow_eval_resolves_to_default_with_callable(
323323 file = {
324324 "id" : flow_response .id ,
325325 "type" : "flow" ,
326- "callable" : lambda inputs : "It's complicated don't worry about it" ,
326+ "callable" : lambda question : "It's complicated don't worry about it" ,
327327 },
328328 dataset = {
329329 "path" : eval_dataset .file_path ,
You can’t perform that action at this time.
0 commit comments