Skip to content

AnthropicBashResult

Namespace: Vercel.AI.Anthropic

public sealed class AnthropicBashResult

Output of a bash sandbox command.

Inheritance: object

View source

AnthropicBashResult(int, string, string, CancellationToken)

Section titled “AnthropicBashResult(int, string, string, CancellationToken)”
public AnthropicBashResult(int exitCode, string stdout, string stderr, CancellationToken cancellationToken)

Creates a bash result.

Parameters

Name Type Description
exitCode int
stdout string
stderr string
cancellationToken CancellationToken

View source

public CancellationToken CancellationToken { get; }

Token the sandbox observed.

Value: CancellationToken

View source

public int ExitCode { get; }

Process exit code.

Value: int

View source

public string Stderr { get; }

Standard error.

Value: string

View source

public string Stdout { get; }

Standard output.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product