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

Function sanitizeModel

components/modals/CreateProjectModal.tsx:18–18  ·  view source on GitHub ↗
(cli: string, model?: string | null)

Source from the content-addressed store, hash-verified

16const DEFAULT_MODEL_ID = getDefaultModelForCli('claude');
17
18const sanitizeModel = (cli: string, model?: string | null) => normalizeModelId(cli, model);
19
20const CLI_OPTIONS: CLIOption[] = [
21 {

Callers 5

CreateProjectModalFunction · 0.70
handleCLIChangeFunction · 0.70
handleModelChangeFunction · 0.70
submitFunction · 0.70

Calls 1

normalizeModelIdFunction · 0.90

Tested by

no test coverage detected