UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

9 lines (8 loc) 694 B
import { type Experimental_EvaluationModel as EvaluationModel, type LanguageModel } from "ai"; export { MODEL_CONNECTION_ENV } from "#shared/model-helper.js"; export { resolveModelApiKey } from "./api-key.js"; export declare function createDirectModelFetch(provider: "openai" | "anthropic"): typeof fetch; /** Resolve the connection for every request, including models constructed before /login. */ export declare function localGatewayModel(id: string): LanguageModel | undefined; /** Resolve an evaluation model through the same local Gateway connection used by language models. */ export declare function localGatewayEvaluationModel(id: string): Exclude<EvaluationModel, string> | undefined;