UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

22 lines (18 loc) • 1.08 kB
import { buildDynamicSystemPrompt } from "../../../dynamic-prompt/build.js"; import { buildFileOperationsTuning } from "./file-operations.js"; import { buildGptEvalRoutingTuning } from "./gpt-eval-routing.js"; function buildGpt54Tuning(toolNames) { return `Use explicit section structure and step sequences for multi-step tasks: ordered steps with dependencies. When a specific response shape is needed, declare exact fields and order upfront, no extra text. Default to medium reasoning effort. Escalate to high only for multi-constraint optimization, subtle bugs, or novel architecture decisions. Use low for classification, extraction, formatting. State when each tool should and should not be called. Specify parallel vs sequential tool use. ${buildGptEvalRoutingTuning()} ${buildFileOperationsTuning({ toolNames })}`; } export function buildGpt54Prompt(options) { return buildDynamicSystemPrompt({ ...options, tuningSection: buildGpt54Tuning(options.selectedTools), workstationDialect: "codex", }); } //# sourceMappingURL=gpt-5.4.js.map