Skip to content

Commit

Permalink
Merge pull request #485 from owasp-noir:fix-lint
Browse files Browse the repository at this point in the history
fix(ollama): clean up prompt formatting for endpoint analysis
  • Loading branch information
hahwul authored Jan 12, 2025
2 parents b386631 + 5bd5e0a commit 5b0b187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analyzer/analyzers/llm_analyzers/ollama.cr
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ module Analyzer::AI
filter_prompt = <<-PROMPT
!! Respond only in JSON format. Do not include explanations, comments, or any additional text. !!
---
Analyze the following list of file paths and identify which files are likely to represent endpoints, including API endpoints, web pages, or static resources.
Exclude directories from the analysis and focus only on individual files.
Analyze the following list of file paths and identify which files are likely to represent endpoints, including API endpoints, web pages, or static resources.
Exclude directories from the analysis and focus only on individual files.
Return the result as a JSON array of file paths that should be analyzed further.
File paths:
Expand Down

0 comments on commit 5b0b187

Please sign in to comment.