AnthropicContainer
Namespace: Vercel.AI.Anthropic
public static class AnthropicContainerCopies the latest Anthropic container id into the next call’s provider options.
Inheritance: object
Methods
Section titled “Methods”ForwardFromLastStep(IReadOnlyList<StepResult>)
Section titled “ForwardFromLastStep(IReadOnlyList<StepResult>)”public static PrepareStepUpdate? ForwardFromLastStep(IReadOnlyList<StepResult> steps)Searches <code class=“paramref”>steps</code> from the end and returns a prepareStep update whose provider options set
anthropic.container.id. Returns null when no step has a container id.
Maps to forwardAnthropicContainerIdFromLastStep.
Parameters
| Name | Type | Description |
|---|---|---|
steps |
IReadOnlyList<StepResult> |
Returns: PrepareStepUpdate
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product