Skip to content

Commit be17516

Browse files
committed
Modify system prompt for scenario generation
1 parent fce3786 commit be17516

File tree

1 file changed

+5
-1
lines changed
  • arbigent-ai-openai/src/main/java/io/github/takahirom/arbigent

1 file changed

+5
-1
lines changed

arbigent-ai-openai/src/main/java/io/github/takahirom/arbigent/OpenAIAi.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,11 @@ public class OpenAIAi @OptIn(ArbigentInternalApi::class) constructor(
761761
"Generate scenarios based on the app UI structure and the user's request. " +
762762
"Each scenario should have a clear goal and be executable by an automated testing system. " +
763763
"Please split scenarios into appropriately sized chunks that won't confuse the AI. " +
764-
"Set any unrelated items to null."
764+
"Set any unrelated items to null. " +
765+
"Note: When a scenario depends on another scenario (using scenario.dependency), " +
766+
"you cannot check the execution content of the dependent scenario. For example, " +
767+
"if scenario B includes user interactions like button clicks or data entry and scenario C depends on B, " +
768+
"you cannot verify the specific interactions or data from scenario B in scenario C."
765769
)
766770
)
767771
),

0 commit comments

Comments
 (0)