You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "No relevant issue activity. Skipping analysis." > analysis_prompt.txt
251
-
echo "analysis-skipped=true" >> $GITHUB_OUTPUT
252
-
exit 0
253
-
elif [ "$ANALYSIS_TYPE" = "issue-analysis" ]; then
254
-
# Create issue-focused prompt - FOCUS ON USER'S PROBLEM FIRST
255
-
echo "You are an expert Linux system administrator and LEMP stack automation specialist helping users solve server configuration problems." > analysis_prompt.txt
256
-
echo "" >> analysis_prompt.txt
257
-
echo "CRITICAL INSTRUCTION: FOCUS FIRST ON UNDERSTANDING THE USER'S ISSUE." >> analysis_prompt.txt
258
-
echo "Then scan the codebase to find potential solutions or identify configuration-related causes." >> analysis_prompt.txt
elif [ "$ANALYSIS_TYPE" = "comment-analysis" ]; then
276
-
# Create comment-focused prompt - FOCUS ON CONVERSATION CONTEXT
277
-
echo "You are an expert Linux system administrator and LEMP stack automation specialist analyzing a server configuration discussion." > analysis_prompt.txt
278
-
echo "" >> analysis_prompt.txt
279
-
echo "CRITICAL INSTRUCTION: FOCUS ON THE CONVERSATION CONTEXT AND NEW INFORMATION." >> analysis_prompt.txt
280
-
echo "Analyze the new comment in relation to the original server administration issue and provide relevant insights." >> analysis_prompt.txt
# Create issue-focused prompt - FOCUS ON USER'S PROBLEM FIRST
237
+
echo "You are an expert Linux system administrator and LEMP stack automation specialist helping users solve server configuration problems." > analysis_prompt.txt
238
+
echo "" >> analysis_prompt.txt
239
+
echo "CRITICAL INSTRUCTION: FOCUS FIRST ON UNDERSTANDING THE USER'S ISSUE." >> analysis_prompt.txt
240
+
echo "Then scan the codebase to find potential solutions or identify configuration-related causes." >> analysis_prompt.txt
0 commit comments