Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/continuedev/continue
/ ModelService.test.ts
File
ModelService.test.ts
extensions/cli/src/services/ModelService.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ AssistantUnrolled, ModelConfig } from
"@continuedev/config-yaml"
;
2
import
{ beforeEach, describe, expect, test, vi } from
"vitest"
;
3
4
// Mock dependencies before imports
Callers
nothing calls this directly
Calls
11
mock
Method · 0.80
switchModel
Method · 0.80
getAvailableChatModels
Method · 0.80
getCurrentModelIndex
Method · 0.80
getModelIndexByName
Method · 0.80
getModelInfo
Method · 0.80
getDependencies
Method · 0.65
on
Method · 0.65
initialize
Method · 0.45
getState
Method · 0.45
isReady
Method · 0.45
Tested by
no test coverage detected