Skip to content

Commit 38cf7b7

Browse files
committed
Move Black Belt engine prompt path into module
1 parent ef95abd commit 38cf7b7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bin/blackbelt-engine.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ else
1313
MODEL="${BBEA_MODEL:-llama3.2:latest}"
1414
fi
1515

16-
PROMPT_FILE="${BBEA_SYSTEM_PROMPT:-black.belt/sharp/system.prompt}"
16+
PROMPT_FILE="${BBEA_SYSTEM_PROMPT:-../../../black.belt/sharp/system.prompt}"
1717

1818
if [[ ! -f "$PROMPT_FILE" ]]; then
19-
PROMPT_FILE="$ROOT/black.belt/sharp/system.prompt"
19+
PROMPT_FILE="$ROOT/../../black.belt/sharp/system.prompt"
2020
fi
2121

2222
if [[ ! -f "$PROMPT_FILE" && -f "/usr/share/blackbelt/sharp/system.prompt" ]]; then
@@ -58,7 +58,7 @@ if json_mode:
5858
}
5959
else:
6060
# Natural-language questions are intentionally not sent through Ollama's
61-
# JSON-output constraint. The CLI advertises question mode, so the model
61+
# JSON-output constraint. The CLI advertises question mode, so the model
6262
# should receive the question as ordinary text and answer it directly.
6363
question_system = system_prompt + "\n\nQUESTION MODE\nThe user has entered a natural-language question rather than a structured audit object. Answer the question directly and concisely. Do not manufacture an audit report or JSON object unless the user explicitly asks for one."
6464
request = {

0 commit comments

Comments
 (0)