10 lines
394 B
JavaScript
10 lines
394 B
JavaScript
// Caveman injector: appends a caveman-style instruction into the system message
|
|
// of the final request body, just before it is dispatched to the provider executor.
|
|
|
|
import { injectSystemPrompt } from "./systemInject.js";
|
|
import { CAVEMAN_PROMPTS } from "./cavemanPrompts.js";
|
|
|
|
export function injectCaveman(body, format, level) {
|
|
injectSystemPrompt(body, format, CAVEMAN_PROMPTS[level]);
|
|
}
|