@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
20 lines (17 loc) • 989 B
JavaScript
import { buildDynamicSystemPrompt } from "../../../dynamic-prompt/build.js";
import { buildFileOperationsTuning } from "./file-operations.js";
import { buildGptEvalRoutingTuning } from "./gpt-eval-routing.js";
function buildGpt5Tuning(toolNames) {
return `Focus on what "done" looks like rather than chaining intermediate confirmations when the goal is already concrete. Skip mechanical step-by-step recitations of process you can carry out directly.
Retrieval budget: ordinary lookups should fit in one broad search wave. Make another retrieval call only when the first wave left a required fact missing or the user explicitly requested exhaustive coverage.
${buildGptEvalRoutingTuning()}
${buildFileOperationsTuning({ toolNames })}`;
}
export function buildGpt5Prompt(options) {
return buildDynamicSystemPrompt({
...options,
tuningSection: buildGpt5Tuning(options.selectedTools),
workstationDialect: "codex",
});
}
//# sourceMappingURL=gpt-5.js.map