MCPcopy Create free account
hub / github.com/Noumena-Network/code / getOptionsForSetting

Function getOptionsForSetting

src/tools/ConfigTool/ConfigTool.test.ts:131–134  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

129 return key.split('.')
130 },
131 getOptionsForSetting(key: string) {
132 const config = settings[key as keyof typeof settings]
133 return config && 'options' in config ? [...(config.options ?? [])] : undefined
134 },
135 }
136 })
137}

Callers 2

generatePromptFunction · 0.70
callFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected