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

  • ReflectAndRetryModelPluginOptions

Interface ReflectAndRetryModelPluginOptions

Options for configuring ReflectAndRetryModelPlugin.

interface ReflectAndRetryModelPluginOptions {
    maxRetries?: number;
    name?: string;
    onModelErrors?: FinishReason[];
    throwExceptionIfRetryExceeded?: boolean;
    trackingScope?: TrackingScope;
}
  • Defined in core/src/plugins/reflect_retry_model_plugin.ts:27

Properties

OptionalmaxRetries

maxRetries?: number

Maximum consecutive model failures before giving up (0 = no retries). Defaults to 3.

  • Defined in core/src/plugins/reflect_retry_model_plugin.ts:31

Optionalname

name?: string

Plugin instance identifier. Defaults to 'reflect_retry_model_plugin'.

  • Defined in core/src/plugins/reflect_retry_model_plugin.ts:29

OptionalonModelErrors

onModelErrors?: FinishReason[]

A list of FinishReasons that should be treated as model errors. Defaults to [FinishReason.MALFORMED_FUNCTION_CALL].

  • Defined in core/src/plugins/reflect_retry_model_plugin.ts:37

OptionalthrowExceptionIfRetryExceeded

throwExceptionIfRetryExceeded?: boolean

If true, raises the exception when retry limit is reached. If false, returns response. Defaults to true.

  • Defined in core/src/plugins/reflect_retry_model_plugin.ts:33

OptionaltrackingScope

trackingScope?: TrackingScope

Determines the lifecycle of the error tracking state. Defaults to TrackingScope.INVOCATION.

  • Defined in core/src/plugins/reflect_retry_model_plugin.ts:35
Properties
maxRetriesnameonModelErrorsthrowExceptionIfRetryExceededtrackingScope
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.