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

File provider.ts

packages/arctic/src/provider/provider.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { iife } from "@/util/iife"
2import { NamedError } from "@arctic-cli/util/error"
3import { NoSuchModelError, type Provider as SDK } from "ai"
4import fuzzysort from "fuzzysort"

Callers

nothing calls this directly

Calls 13

iifeFunction · 0.90
getApiBaseUrlFunction · 0.85
ensureAuthFunction · 0.85
mergeProviderFunction · 0.85
isProviderAllowedFunction · 0.85
fetchFunction · 0.70
textMethod · 0.65
jsonMethod · 0.65
fnFunction · 0.50
createMethod · 0.45
getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected