Skip to content

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.

AgentSystemPrompt

Result<string, string>