Skip to content

basalt / ai/src / ProviderEnv

Interface: ProviderEnv ​

Defined in: ai/src/provider/factory.ts:10

The subset of environment the provider layer reads.

Properties ​

AI_API_KEY? ​

> optional AI_API_KEY?: string

Defined in: ai/src/provider/factory.ts:13


AI_BASE_URL? ​

> optional AI_BASE_URL?: string

Defined in: ai/src/provider/factory.ts:14


AI_MODEL? ​

> optional AI_MODEL?: string

Defined in: ai/src/provider/factory.ts:12


AI_PROVIDER? ​

> optional AI_PROVIDER?: string

Defined in: ai/src/provider/factory.ts:11


AI_STREAM? ​

> optional AI_STREAM?: string

Defined in: ai/src/provider/factory.ts:16

'false' disables SSE streaming for the OpenAI-compatible provider.

Released under the MIT License.