MCPcopy Create free account
hub / github.com/cortexkit/magic-context / modelOptions

Function modelOptions

packages/cli/src/lib/model-picker.ts:61–63  ·  view source on GitHub ↗
(models: string[])

Source from the content-addressed store, hash-verified

59}
60
61export function modelOptions(models: string[]): SelectOption[] {
62 return sortModelsForPicker(models).map((model) => ({ label: model, value: model }));
63}
64
65/**
66 * Show the role explanation, then let the user pick a model from their full

Callers 1

pickModelFunction · 0.85

Calls 1

sortModelsForPickerFunction · 0.85

Tested by

no test coverage detected