MCPcopy
hub / github.com/janhq/jan / useLlamacppDevices.ts

File useLlamacppDevices.ts

web-app/src/hooks/useLlamacppDevices.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { create } from 'zustand'
2import { getServiceHub } from '@/hooks/useServiceHub'
3import type { DeviceList } from '@/services/hardware/types'
4import { useModelProvider } from './useModelProvider'

Callers

nothing calls this directly

Calls 13

getServiceHubFunction · 0.90
createFunction · 0.85
getFunction · 0.85
getLlamacppDevicesMethod · 0.65
hardwareMethod · 0.65
joinMethod · 0.65
updateSettingsMethod · 0.65
providersMethod · 0.65
setFunction · 0.50
findMethod · 0.45
filterMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected