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

  • InMemoryPolicyEngine

Class InMemoryPolicyEngine

In-memory policy engine that permits all tool calls. Intended for prototyping.

Implements

  • BasePolicyEngine
  • Defined in core/src/plugins/security_plugin.ts:68

Constructors

constructor

  • new InMemoryPolicyEngine(): InMemoryPolicyEngine

    Returns InMemoryPolicyEngine

Methods

evaluate

  • evaluate(_context: ToolCallPolicyContext): Promise<PolicyCheckResult>

    Always returns PolicyOutcome.ALLOW for every tool call.

    Parameters

    • _context: ToolCallPolicyContext

      The tool and its arguments; ignored.

    Returns Promise<PolicyCheckResult>

    A promise resolving to an ALLOW result.

    Implementation of BasePolicyEngine.evaluate

    • Defined in core/src/plugins/security_plugin.ts:75
Constructors
constructor
Methods
evaluate
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.