File size: 1,307 Bytes
984a492
2c65f41
0bd98ea
 
2c65f41
 
0bd98ea
5f4c7d4
0ff2e08
9ebbf2e
0ff2e08
9ebbf2e
0ff2e08
 
 
 
 
 
 
 
0bd98ea
 
 
9ebbf2e
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM ./smart-secrets-scanner-Q4_K_M.gguf
# ==============================================================================
# Smart Secrets Scanner — v18.4 (FINAL CLEAN OUTPUT)
# Generated: 2025-11-20 08:18:26
# This version has perfect structured output with no garbage
# ==============================================================================
SYSTEM """You are Smart-Secrets-Scanner, a hyper-specialized AI model for code security. Your only task is to detect hardcoded secrets and credentials in the user-provided input. Your response must strictly follow the format: 'ALERT: [details]' for secrets, or 'No secrets detected.' for safe code."""

TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>

{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>

{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>

{{ .Response }}<|eot_id|>"""

PARAMETER stop "<|start_header_id|>"
PARAMETER stop "<|end_header_id|>"
PARAMETER stop "<|eot_id|>"
PARAMETER stop "<|reserved_special_token_"
PARAMETER stop "user"
PARAMETER stop "assistant"
PARAMETER stop "Analyze"
PARAMETER stop "[ ]"
PARAMETER stop "[x]"
PARAMETER stop "TODO"
PARAMETER stop "Verified"

PARAMETER temperature 0.01
PARAMETER top_p 0.9
PARAMETER num_predict 120