From 2d467103205f92976ee23be1634946cfe91aa0ff Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Mon, 9 Sep 2024 17:13:00 +0200 Subject: [PATCH] fix AI commands crashing with JSON serde exception when Anthropic is used --- maestro-ai/src/main/java/maestro/ai/Prediction.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maestro-ai/src/main/java/maestro/ai/Prediction.kt b/maestro-ai/src/main/java/maestro/ai/Prediction.kt index 2e1de0aaa8..c9cca754c3 100644 --- a/maestro-ai/src/main/java/maestro/ai/Prediction.kt +++ b/maestro-ai/src/main/java/maestro/ai/Prediction.kt @@ -172,7 +172,7 @@ object Prediction { |* You must provide result as a valid JSON object, matching this structure: | | { - | "defect": [ + | "defects": [ | { | "category": "assertion", | "reasoning": ""