MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / isOSModel

Function isOSModel

lib/queryLLM.ts:172–177  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

170}
171
172function isOSModel(model: string): boolean {
173 return Boolean(
174 process.env.NEXT_PUBLIC_OS_MODEL &&
175 model === JSON.parse(process.env.NEXT_PUBLIC_OS_MODEL).id,
176 );
177}
178
179function getLLMRequestChat(
180 messages: ChatGPTMessage[],

Callers 2

getLLMRequestChatFunction · 0.85
getSecondaryModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected