Member Junction
    Preparing search index...

    Function ResolveSpecializationPlacement

    • Decides where the specialization goes for this run.

      The runtime-state fragment is always the final message of the request, so relocation is always possible. An explicit specializationPlacement wins; 'auto' relocates exactly when the child template is volatile.

      Parameters

      • promptParams: Record<string, unknown>

        The merged __agentTypePromptParams for the agent.

      • childTemplateText: string

        The child prompt's UNRENDERED template text (placeholders intact). Pass null when the agent has no child prompt; the result is then 'systemPrompt'.

      Returns ResolvedSpecializationPlacement