Skip to content

OpenAIShellEnvironment

Namespace: Vercel.AI.OpenAI

public sealed class OpenAIShellEnvironment

Environment of Shell(OpenAIShellToolOptions): containerAuto, containerReference, or local.

Inheritance: object

View source

public IReadOnlyList<string>? AllowedDomains { get; set; }

Allowed domains of a containerAuto environment network allowlist.

Value: IReadOnlyList<string>

View source

public string? ContainerId { get; set; }

Container id of a containerReference environment.

Value: string

View source

public IReadOnlyList<OpenAIShellDomainSecret>? DomainSecrets { get; set; }

Domain secrets of a network allowlist.

Value: IReadOnlyList<OpenAIShellDomainSecret>

View source

public IReadOnlyList<string>? FileIds { get; set; }

File ids of a containerAuto environment.

Value: IReadOnlyList<string>

View source

public string? MemoryLimit { get; set; }

Memory limit of a containerAuto environment: 1g, 4g, 16g, or 64g.

Value: string

View source

public bool NetworkDisabled { get; set; }

Disable network access of a containerAuto environment.

Value: bool

View source

public IReadOnlyList<OpenAIShellLocalSkill>? Skills { get; set; }

Skills of a local environment.

Value: IReadOnlyList<OpenAIShellLocalSkill>

View source

public string Type { get; set; }

containerAuto, containerReference, or local.

Value: string

View source

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