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

    Type Alias SingleBeforeModelCallback

    SingleBeforeModelCallback: (
        params: { context: CallbackContext; request: LlmRequest },
    ) => LlmResponse | undefined | Promise<LlmResponse | undefined>

    A callback that runs before a request is sent to the model.

    Type Declaration