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 — createEmptyState | ADK for TypeScript: API Reference - v2.5.0

  • createEmptyState

Function createEmptyState

  • createEmptyState(
        agent: BaseAgent,
        initializedStates?: Record<string, unknown>,
    ): Record<string, unknown>

    Creates a state object initialized with empty strings '' for all {var} placeholders referenced in the instruction strings of agent and its sub-agents, overridden by any keys provided in initializedStates.

    Parameters

    • agent: BaseAgent

      The root agent to inspect.

    • OptionalinitializedStates: Record<string, unknown>

      Optional pre-initialized state values that take precedence.

    Returns Record<string, unknown>

    The combined state record.

    • Defined in core/src/cli/utils/evals.ts:323
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.