10 lines
396 B
JavaScript
10 lines
396 B
JavaScript
|
|
// Ponytail injector: appends the "lazy senior dev" instruction into the system
|
||
|
|
// message of the final request body, just before dispatch to the provider executor.
|
||
|
|
|
||
|
|
import { injectSystemPrompt } from "./systemInject.js";
|
||
|
|
import { PONYTAIL_PROMPTS } from "./ponytailPrompt.js";
|
||
|
|
|
||
|
|
export function injectPonytail(body, format, level) {
|
||
|
|
injectSystemPrompt(body, format, PONYTAIL_PROMPTS[level]);
|
||
|
|
}
|