Skip to content

rulvar API reference


rulvar API reference / @rulvar/openai / OpenAiCompatibleConfig

Interface: OpenAiCompatibleConfig

Defined in: packages/openai/src/compatible.ts:45

Properties

PropertyTypeDescriptionDefined in
apiKey?string-packages/openai/src/compatible.ts:49
baseURLstring-packages/openai/src/compatible.ts:48
caps?(model) => | ModelCaps | Partial<ModelCaps>Per-model capability overrides merged over the conservative set.packages/openai/src/compatible.ts:51
client?OpenAiClientLikeTest seam: a preconstructed client; production uses the openai SDK.packages/openai/src/compatible.ts:53
idstringExplicit adapter id, e.g. 'ollama', 'vllm', 'openrouter'.packages/openai/src/compatible.ts:47