DocsRuntimellm-providersAnthropicStreamParams
Package: @hexos/runtime

Parameters for the Anthropic streaming function.

Contains all necessary inputs for streaming with the Anthropic Messages API, including client instance, user input, agent configuration, converted tools, and runtime dependencies for tool execution and approval flows.

interface AnthropicStreamParams {
    client: Anthropic;
    input: RuntimeInput;
    agent: AgentDefinition;
    messageId: string;
    currentAgentId: string;
    tools?: Anthropic.Tool[];
    dependencies: ProviderDependencies;
    maxIterationsExceededCode: string;
}

client

Anthropic

input

agent

messageId

string

currentAgentId

string

tools

Anthropic.Tool[]

dependencies

maxIterationsExceededCode

string