Files
decolua--9router/open-sse/rtk/caveman.js
T
wehub-resource-sync 05fcd08057
Deploy GitBook to 9router.github.io / build-deploy (push) Failing after 2s
chore: import upstream snapshot with attribution
2026-07-13 12:21:01 +08:00

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]);
}