Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 59acfda

Browse files
committed
add default prompt also init value for user ai and system prompt
1 parent 627677c commit 59acfda

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

controllers/llamaCPP.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2142,5 +2142,8 @@ class llamaCPP : public drogon::HttpController<llamaCPP> {
21422142
size_t sent_count = 0;
21432143
size_t sent_token_probs_index = 0;
21442144
std::thread backgroundThread;
2145+
std::string user_prompt = "USER: ";
2146+
std::string ai_prompt = "ASSISTANT: ";
2147+
std::string system_prompt = "ASSISTANT's RULE: ";
21452148
};
21462149
}; // namespace inferences

0 commit comments

Comments
 (0)