MCPcopy Create free account
hub / github.com/ChatGPTBox-dev/chatGPTBox / isUsingOpenAiApiModel

Function isUsingOpenAiApiModel

src/config/index.mjs:830–832  ·  view source on GitHub ↗
(configOrSession)

Source from the content-addressed store, hash-verified

828}
829
830export function isUsingOpenAiApiModel(configOrSession) {
831 return isUsingChatgptApiModel(configOrSession) || isUsingGptCompletionApiModel(configOrSession)
832}
833
834export function isUsingClaudeApiModel(configOrSession) {
835 return isInApiModeGroup(claudeApiModelKeys, configOrSession)

Callers 1

Calls 2

isUsingChatgptApiModelFunction · 0.85

Tested by

no test coverage detected