DeprecationAction
Auto-generated API reference for DeprecationAction.
Type Alias: DeprecationAction
DeprecationAction =
"warn"|"remap"|"fail"
Defined in: adapters/src/deprecation.ts:19
Provider model deprecation policy. When a provider deprecates a model, today the adapter silently 404s in production. This module lets you ship a deprecation table per provider and pick a behaviour:
warnβ log once at startup, keep using the model.remapβ auto-substitute the configured successor.failβ throw at startup so deploys catch it.
The deprecation table is community-updateable: the default export holds known deprecations as of the AgentsKit release; consumers can pass their own table to override or extend.
Closes issue #800.