PresetRoute
Defined in: core/src/presets.ts:44
One wire a preset serves besides its own. A gateway that puts different
models on different wires (OpenCode Go) lists the exceptions here, and the
preset’s own shape and baseUrl serve every other model.
Properties
Section titled “Properties”optional auth?: PresetAuth;Defined in: core/src/presets.ts:51
Defaults to the preset’s auth.
baseUrl
Section titled “baseUrl”baseUrl: string;Defined in: core/src/presets.ts:48
optional path?: string;Defined in: core/src/presets.ts:49
prefixes
Section titled “prefixes”prefixes: readonly string[];Defined in: core/src/presets.ts:46
The model ids this route serves, matched by prefix.
shape: PresetShape;Defined in: core/src/presets.ts:47