MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / initCompletionReminder

Function initCompletionReminder

packages/agent-core/src/session/index.ts:982–994  ·  view source on GitHub ↗
(agentsMd: string)

Source from the content-addressed store, hash-verified

980export * from './subagent-host';
981
982function initCompletionReminder(agentsMd: string): string {
983 const latest =
984 agentsMd.trim().length === 0
985 ? 'No AGENTS.md content was found after `/init` completed.'
986 : agentsMd;
987 return [
988 'The user just ran `/init` slash command.',
989 'The system has analyzed the codebase and generated an `AGENTS.md` file.',
990 '',
991 'Latest AGENTS.md file content:',
992 latest,
993 ].join('\n');
994}

Callers 1

generateAgentsMdMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected