AnthropicBashResult
Namespace: Vercel.AI.Anthropic
public sealed class AnthropicBashResultOutput of a bash sandbox command.
Inheritance: object
Constructors
Section titled “Constructors”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 |
Properties
Section titled “Properties”CancellationToken
Section titled “CancellationToken”public CancellationToken CancellationToken { get; }Token the sandbox observed.
Value: CancellationToken
ExitCode
Section titled “ExitCode”public int ExitCode { get; }Process exit code.
Value: int
Stderr
Section titled “Stderr”public string Stderr { get; }Standard error.
Value: string
Stdout
Section titled “Stdout”public string Stdout { get; }Standard output.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product