inspectSystemPrompt
inspectSystemPrompt(
systemPrompt):Result<string,string>
Defined in: packages/core/src/agent/resolve-system-prompt.ts:30
Resolve a system prompt for inspectors without throwing. Invalid templates
(required Zod fields and no demo) become { isErr: true, error } so catalog
loads still succeed and the UI can show the message.
Parameters
Section titled “Parameters”systemPrompt
Section titled “systemPrompt”Returns
Section titled “Returns”Result<string, string>