ADK for TypeScript: API Reference
    Preparing search index...

    Function stripAdkIdentityPreamble

    • Removes ADK's per-agent identity preamble from a system prompt.

      Turns:

      You are an agent. Your internal name is "rerank_11".
      The description about you is "..."
      
      <the actual instruction>
      

      into just the instruction, so that sibling agents sharing one instruction also share one cached session. See ChromeBuiltInLlmParams.normalizeSystemPrompt.

      Parameters

      • systemPrompt: string

      Returns string