Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ utils.test.ts
File
utils.test.ts
apps/sim/providers/utils.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, it, vi } from
'vitest'
2
import
* as environmentModule from
'@/lib/core/config/env-flags'
3
import
{
4
calculateCost,
Callers
nothing calls this directly
Calls
15
getApiKey
Function · 0.90
supportsTemperature
Function · 0.90
getMaxTemperature
Function · 0.90
supportsToolUsageControl
Function · 0.90
supportsReasoningEffort
Function · 0.90
supportsVerbosity
Function · 0.90
supportsThinking
Function · 0.90
getReasoningEffortValuesForModel
Function · 0.90
getVerbosityValuesForModel
Function · 0.90
getThinkingLevelsForModel
Function · 0.90
getMaxOutputTokensForModel
Function · 0.90
getModelPricing
Function · 0.90
Tested by
no test coverage detected