MCPcopy Create free account
hub / github.com/arctic-cli/interface / onSelect

Function onSelect

packages/arctic/src/cli/cmd/tui/component/dialog-model.tsx:139–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 disabled: provider.id === "arctic" && model.includes("-nano"),
138 footer: info.cost?.input === 0 && provider.id === "arctic" ? "Free" : undefined,
139 onSelect() {
140 dialog.clear()
141 local.model.set(
142 {
143 providerID: provider.id,
144 modelID: model,
145 },
146 { recent: true },
147 )
148 },
149 }
150 }),
151 filter((x) => {

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected