detox-copilot
Advanced tools
Comparing version 0.0.28 to 0.0.29
@@ -75,2 +75,3 @@ "use strict"; | ||
"```", | ||
...(previousStep.result ? [`- Result: ${previousStep.result}`] : []), | ||
"" | ||
@@ -155,3 +156,3 @@ ]).flat(), ""); | ||
} | ||
steps.push("If you cannot generate the relevant code due to ambiguity or invalid intent, return code that throws an informative error explaining the problem in one sentence.", "Wrap the generated code with backticks, without any additional formatting.", "Do not provide any additional code beyond the minimal executable code required to perform the intent."); | ||
steps.push("If you cannot generate the relevant code due to ambiguity or invalid intent, return code that throws an informative error explaining the problem in one sentence.", "Each step must be completely independent - do not rely on any variables or assignments from previous steps. Even if a variable was declared or assigned in a previous step, you must redeclare and reassign it in your current step.", "Wrap the generated code with backticks, without any additional formatting.", "Do not provide any additional code beyond the minimal executable code required to perform the intent."); | ||
return steps; | ||
@@ -158,0 +159,0 @@ } |
{ | ||
"name": "detox-copilot", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"description": "A flexible plugin that drives your tests with human-written commands, enhanced by the power of large language models (LLMs)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
48370
1015