AI Settings

Configure AI services for security patch analysis

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% endwith %}
Select AI Service
Controls randomness: lower values are more deterministic
Maximum tokens to consider for context
Ollama Configuration
OpenAI Configuration
Leave empty to use default OpenAI API endpoint
DeepSeek Configuration
Leave empty to use default DeepSeek API endpoint
Claude Configuration
Leave empty to use default Claude API endpoint
AI Prompts Configuration

Customize the prompts used by the AI for analysis. Use {file_path} and {diff_content} placeholders for the main analysis prompt, and {ai_response} and {cve_description} for the CVE analysis prompt.

This prompt is used for the main vulnerability analysis. Variables: {file_path}, {diff_content}
This prompt is used for CVE matching analysis. Variables: {ai_response}, {cve_description}
Tip: You can modify these prompts to better suit your specific use case. Make sure to keep the variable placeholders in the correct format.
Back to Scanner