Skip to content

Commit 702a8b3

Browse files
fix: update AI prompt file reference to new template location
1 parent fe5e89f commit 702a8b3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/scripts/ai_test_runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ def build_analysis_prompt(changes, test_discovery)
506506
end
507507

508508
def load_prompt_template
509-
prompt_file = File.join(File.dirname(__FILE__), 'ai_test_selection_prompt.md')
509+
prompt_file = File.join(File.dirname(__FILE__), 'ai_test_runner_prompt.md')
510510

511511
if File.exist?(prompt_file)
512512
File.read(prompt_file)
File renamed without changes.

doc/AI_TEST_RUNNER.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ bundle exec rspec
230230

231231
### Improving AI Prompts
232232

233-
The AI prompt is defined in `.github/scripts/ai_test_selection_prompt.md` as an external template file. This allows for:
233+
The AI prompt is defined in `.github/scripts/ai_test_runner_prompt.md` as an external template file. This allows for:
234234

235235
- **Easy maintenance**: Update prompts without touching Ruby code
236236
- **Version control**: Track prompt changes separately
@@ -255,7 +255,7 @@ AITestRunner
255255
├── GitChangeAnalyzer # Git diff analysis and parsing
256256
├── TestDiscoveryService # Test file discovery and mapping
257257
├── AITestSelector # AI-powered test selection
258-
│ └── ai_test_selection_prompt.md # External AI prompt template
258+
│ └── ai_test_runner_prompt.md # External AI prompt template
259259
└── AITestRunner # Main orchestrator
260260
```
261261

0 commit comments

Comments
 (0)