Skip to content

five-on-it / apps/api/src/settings / platformSettings

Function: platformSettings() ​

platformSettings(store, defaults, options?): Settings

Defined in: apps/api/src/settings.ts:188

The settings kept in a store over the defaults; checkModel says why a model may not be a choice (with claude, one whose price is not known), or nothing when it may.

Parameters ​

store ​

Store

defaults ​

EffectiveSettings

options? ​

checkModel? ​

(id) => string | undefined

now? ​

() => number

Returns ​

Settings