@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
16 lines • 871 B
JavaScript
import { buildDynamicSystemPrompt } from "../../../dynamic-prompt/build.js";
import { buildExecutionToolingSection } from "./execution-tooling.js";
export const GLM5_TUNING = "Cheap tool call beats long internal debate: reading/running/searching can settle it -> do that, reason over result. Short act-inspect-verify loops so early mistakes surface before later steps build on them. Only the user can settle it -> ask_user_question when available.";
export function buildGlm5Prompt(options) {
return buildDynamicSystemPrompt({
...options,
tuningSection: [
buildExecutionToolingSection({ toolNames: options.selectedTools, dialect: "claude" }),
GLM5_TUNING,
]
.filter((section) => section.length > 0)
.join("\n\n"),
workstationDialect: "claude",
});
}
//# sourceMappingURL=glm-5.js.map