Skip to content

ProviderValues.RuntimeProbe

Namespace: Vercel.AI.ProviderUtils

public sealed class ProviderValues.RuntimeProbe

Inputs for GetRuntimeEnvironmentUserAgent(RuntimeProbe).

Inheritance: object

View source

public bool EdgeRuntime { get; set; }

True for the Vercel Edge runtime.

Value: bool

View source

public string? NavigatorUserAgent { get; set; }

Navigator user agent, when the host exposes one.

Value: string

View source

public string? NodeVersion { get; set; }

Node version marker. Any non-empty value selects the Node branch.

Value: string

View source

public string? ProcessVersion { get; set; }

process.version text appended after runtime/node.js/.

Value: string

View source

public bool Window { get; set; }

True when a browser window is present.

Value: bool

View source

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