rulvar API reference / @rulvar/openai / OpenAiCompatibleConfig
Interface: OpenAiCompatibleConfig
Defined in: packages/openai/src/compatible.ts:45
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
apiKey? | string | - | packages/openai/src/compatible.ts:49 |
baseURL | string | - | 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? | OpenAiClientLike | Test seam: a preconstructed client; production uses the openai SDK. | packages/openai/src/compatible.ts:53 |
id | string | Explicit adapter id, e.g. 'ollama', 'vllm', 'openrouter'. | packages/openai/src/compatible.ts:47 |