GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — runWithClientLabel | ADK for TypeScript: API Reference - v2.5.0

  • runWithClientLabel

Function runWithClientLabel

  • runWithClientLabel<R>(clientLabel: string, callback: () => R): R

    Runs the given callback within a context that has the specified client label. All LLM calls made within this callback will include the client label in their tracking headers.

    Type Parameters

    • R

    Parameters

    • clientLabel: string

      The custom client label to apply.

    • callback: () => R

      The callback function to execute.

    Returns R

    The result of the callback.

    • Defined in core/src/utils/client_labels.ts:72
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.