MCPcopy
hub / github.com/opactorai/Claudable / setDefaultCLI

Function setDefaultCLI

components/settings/GlobalSettings.tsx:258–266  ·  view source on GitHub ↗
(cliId: string)

Source from the content-addressed store, hash-verified

256
257
258 const setDefaultCLI = (cliId: string) => {
259 const cliInstalled = cliStatus[cliId]?.installed;
260 if (!cliInstalled) return;
261
262 setGlobalSettings(prev => ({
263 ...prev,
264 default_cli: cliId
265 }));
266 };
267
268 const setDefaultModel = (cliId: string, modelId: string) => {
269 setGlobalSettings(prev => ({

Callers 1

GlobalSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected