Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChatGPTBox-dev/chatGPTBox
/ getApiModeGroup
Function
getApiModeGroup
src/utils/model-name-convert.mjs:354–356 ·
view source on GitHub ↗
(apiMode)
Source
from the content-addressed store, hash-verified
352
}
353
354
export
function
getApiModeGroup(apiMode) {
355
return
getModelNameGroup(apiModeToModelName(apiMode))
356
}
357
358
export
function
isInApiModeGroup(apiModeGroup, configOrSession) {
359
let
foundGroup
Callers
1
isInApiModeGroup
Function · 0.85
Calls
2
getModelNameGroup
Function · 0.85
apiModeToModelName
Function · 0.85
Tested by
no test coverage detected