Skip to content

CreateOpenAICompatRouterOptions

optional agentId?: string;

optional apiKey?: string;

optional clientTools?: string[];

runtime: OpenAICompatRuntime;

optional sessionKey?: (req) => string | undefined;
Parameter Type

req

Context

string | undefined


optional systemPromptMode?: SystemPromptMode;