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

Function fromModelsDevProvider

packages/arctic/src/provider/provider.ts:1103–1112  ·  view source on GitHub ↗
(provider: ModelsDev.Provider)

Source from the content-addressed store, hash-verified

1101 }
1102
1103 export function fromModelsDevProvider(provider: ModelsDev.Provider): Info {
1104 return {
1105 id: provider.id,
1106 source: "custom",
1107 name: provider.name,
1108 env: provider.env ?? [],
1109 options: {},
1110 models: mapValues(provider.models, (model) => fromModelsDevModel(provider, model)),
1111 }
1112 }
1113
1114 const state = Instance.state(async () => {
1115 using _ = log.time("state")

Callers

nothing calls this directly

Calls 1

fromModelsDevModelFunction · 0.85

Tested by

no test coverage detected