From 6fc274c832973d2daef5a2214350325c71dd9f58 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Thu, 21 Mar 2024 00:40:20 +0900 Subject: [PATCH] action.yml: no maximum context length errors --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 6f4469f..cdcf086 100644 --- a/action.yml +++ b/action.yml @@ -237,7 +237,7 @@ runs: } try { - if (options.key && patchExplained === null && patch.type !== "simple" && logError.message !== "debounce") { + if (options.key && patchExplained === null && patch.type !== "simple" && logError.message !== "debounce" && !logError.message.includes("maximum context length")) { patchExplained = patch.watermark+"\n\n"+`logError ${logError.message}`; }