MCPcopy Create free account
hub / github.com/xerrors/Yuxi / checkV2Status

Function checkV2Status

web/src/composables/useModelStatus.js:31–40  ·  view source on GitHub ↗
(spec)

Source from the content-addressed store, hash-verified

29 }
30
31 const checkV2Status = async (spec) => {
32 try {
33 const response = await modelProviderApi.getModelStatusBySpec(spec)
34 if (response.data) {
35 statusMap[spec] = response.data
36 }
37 } catch {
38 statusMap[spec] = { spec, status: 'error', message: '检查失败' }
39 }
40 }
41
42 const checkV2Statuses = async (models) => {
43 for (const model of models || []) {

Callers 1

checkV2StatusesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected