Skip to content

buildDefaultSystemPrompt

buildDefaultSystemPrompt(repoUrl, commitSha): string

Defined in: src/prompt.ts:86

Build the default system prompt, interpolating the repository’s browse URL so the model can emit clickable source links.

Parameters

repoUrl

string

e.g. “https://github.com/owner/repo

commitSha

string

full or short SHA for a permalink-stable blob base

Returns

string