Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diegosouzapw/OmniRoute
/ functions
Functions
20,485 in github.com/diegosouzapw/OmniRoute
⨍
Functions
20,485
◇
Types & classes
2,883
↓ 3 callers
Function
makeDeleteRequest
(id: string)
tests/unit/combos-quota-protected.test.ts:28
↓ 3 callers
Function
makeDim
* Build a FairShareDimension with the given effective limit. * globalUsedPercent is set to 0.7 (strict mode) to trigger fair-share enforcement. * co
tests/unit/quota-summed-budget.test.ts:60
↓ 3 callers
Function
makeDiv
()
tests/unit/dashboard/batch/sanitization.test.tsx:97
↓ 3 callers
Function
makeFailingExecutor
(failAt: number, fallbackText = "")
tests/unit/pipeline.test.ts:44
↓ 3 callers
Function
makeFakeReq
(host: string)
tests/unit/inspector-agent-bridge-hook.test.ts:35
↓ 3 callers
Function
makeFakeSsoCache
(home: string, creds: { clientId: string; clientSecret: string } | null)
tests/unit/kiro-builder-id-import-3333.test.ts:18
↓ 3 callers
Function
makeFamily
(baseName, minutesAgo)
tests/unit/db-backup-extended.test.ts:157
↓ 3 callers
Function
makeFetch
(data: unknown, status = 200)
tests/unit/ui/CliAgentsPage.test.tsx:78
↓ 3 callers
Function
makeFrame
(flag: number, payload: Uint8Array)
tests/unit/windsurf-devin-executors.test.ts:161
↓ 3 callers
Function
makeIdeaFile
( meta, body = "# Feature: X\n\n## Community Discussion\n\nInitial summary.\n" )
tests/unit/feature-triage/resync.test.mjs:6
↓ 3 callers
Function
makeJsonRequest
(method: string, body?: unknown)
tests/unit/database-settings-maintenance.test.ts:37
↓ 3 callers
Function
makeKey
(from: string, to: string)
open-sse/translator/registry.ts:16
↓ 3 callers
Function
makeLog
()
tests/unit/combo-strategies.test.ts:74
↓ 3 callers
Function
makeLowGainEngine
(id = LOW_GAIN_ENGINE_ID)
tests/unit/compression/bailout.test.ts:69
↓ 3 callers
Function
makeMemoryData
(index)
tests/integration/performance-regression.test.ts:61
↓ 3 callers
Function
makeMsg
(content: string)
tests/unit/textual-toolcall-sanitizer-false-positive.test.ts:37
↓ 3 callers
Function
makePipelineResult
(text: string)
tests/unit/pipeline-router.test.ts:303
↓ 3 callers
Function
makeReq
(body: unknown)
tests/unit/compression/previewRouteToon.test.ts:13
↓ 3 callers
Function
makeRequest
(body: unknown, cookie?: string)
tests/unit/openapi-try-route.test.ts:37
↓ 3 callers
Function
makeRequest
(method, cookie)
tests/unit/db-health-route.test.ts:28
↓ 3 callers
Function
makeResolution
()
tests/unit/memory-vectorstore-int8-quant.test.ts:32
↓ 3 callers
Function
makeResp
(data: unknown, status = 200)
tests/unit/cli-telemetry-commands.test.ts:4
↓ 3 callers
Function
makeResp
(data: unknown, status = 200)
tests/unit/cli-cost.test.ts:55
↓ 3 callers
Function
makeSignature
(bytes: number[])
tests/unit/signature-cache-bypass.test.ts:16
↓ 3 callers
Function
makeSocket
Creates a mock socket that captures written bytes and emits "connect".
tests/unit/services/embedWsProxy.test.ts:58
↓ 3 callers
Function
makeText
(seed: string, length: number = 700)
tests/unit/compression/ccr-cross-tenant.test.ts:32
↓ 3 callers
Function
makeUpdateRequest
(body)
tests/unit/combo-routes-composite-tiers.test.ts:29
↓ 3 callers
Function
makeUpstreamOkFetch
(content: string, promptTokens = 10, completionTokens = 5)
tests/integration/playground-improve-prompt.test.ts:37
↓ 3 callers
Function
mapCodeAssistTierIdToLabel
(tierId: string)
open-sse/services/usage/antigravity.ts:308
↓ 3 callers
Function
mapModel
(model: string)
open-sse/executors/theoldllm.ts:42
↓ 3 callers
Function
mapRawModelToModelV2
( raw: OmniRouteRawModelEntry, ctx: { providerId: string; baseURL: string; apiFormat?: { anthropicPrefixes
@omniroute/opencode-plugin/src/index.ts:710
↓ 3 callers
Function
mapWithConcurrency
( items: T[], concurrency: number, mapper: (item: T, index: number) => Promise<R> )
open-sse/services/combo/quotaStrategies.ts:288
↓ 3 callers
Function
markToolFinish
(sessionId: string | null)
open-sse/services/sessionManager.ts:171
↓ 3 callers
Function
maskAccount
(account: string | null | undefined, emailsVisible: boolean)
src/shared/utils/formatting.ts:60
↓ 3 callers
Function
maskKey
(key)
tests/unit/api-key-reveal-route.test.ts:28
↓ 3 callers
Function
maskSensitiveHeaders
(headers: HeaderInput)
open-sse/utils/requestLogger.ts:63
↓ 3 callers
Function
matchErrorRuleByStatus
(statusCode: number)
open-sse/config/errorConfig.ts:195
↓ 3 callers
Function
matchErrorRuleByText
(message: unknown)
open-sse/config/errorConfig.ts:189
↓ 3 callers
Function
matchesRoutingTags
( connectionTags: string[], requestTags: string[], matchMode: RoutingTagMatchMode = "any" )
src/domain/tagRouter.ts:40
↓ 3 callers
Function
measureCompression
(original: string, compressed: string)
open-sse/services/compression/harness/measure.ts:85
↓ 3 callers
Function
mergeContinueConfig
(existing, newModels, apiBase)
bin/cli/commands/setup-continue.mjs:74
↓ 3 callers
Function
mergeFetchedModels
( nodePrefix: string, nodeModels: Array<{ id: string }>, fallbackEntries: Array<{ id: string }>, custo
tests/unit/custom-provider-combo-models.test.ts:29
↓ 3 callers
Function
mergeOpenCodeConfig
( existingConfig: Record<string, any> | null | undefined, input: OpenCodeConfigInput )
src/shared/services/opencodeConfig.ts:85
↓ 3 callers
Function
mergeOptimization
(target: VacuumScheduleSettings, value: unknown)
src/lib/db/vacuumScheduler.ts:116
↓ 3 callers
Function
mergeOptimizationSettings
( target: DatabaseOptimizationSettings, value: unknown )
src/lib/db/optimizationSettings.ts:69
↓ 3 callers
Function
mergePricingLayers
(layers: PricingByProvider[])
src/lib/db/settings/pricing.ts:39
↓ 3 callers
Function
mergeStackStep
( acc: StackAccumulator, engineId: string, result: CompressionResult )
open-sse/services/compression/stackedStepCore.ts:66
↓ 3 callers
Function
mergeUsage
(incoming)
open-sse/handlers/sseParser.ts:329
↓ 3 callers
Method
mget
(...keys: string[])
src/lib/quota/redisQuotaStore.ts:38
↓ 3 callers
Function
mkFailed
( targetIndex: number, error: string, provider = `prov${targetIndex}`, model = `model${targetIndex}` )
tests/unit/ui/comboFlowModel.test.ts:40
↓ 3 callers
Function
mockChatGptStreamText
(events)
tests/unit/chatgpt-web.test.ts:19
↓ 3 callers
Function
mockFetch
(handler: (url: string, init?: RequestInit) => Response)
tests/unit/oauth-connection-test-codex-endpoint.test.ts:28
↓ 3 callers
Function
mockFetch
(body: unknown, status = 200)
tests/unit/cli-chat.test.ts:7
↓ 3 callers
Function
mockFetchForProviders
( providerResults: Record<string, { urls?: string[]; cost?: number; latency?: number }> = {}, )
tests/unit/ui/search-tools-compare-tab.test.tsx:38
↓ 3 callers
Function
mockFetchWithEvents
( events: Array<{ id?: string; timestamp?: string; provider?: string; model?: string; so
tests/unit/translator-friendly-monitor-tab.test.tsx:83
↓ 3 callers
Function
mockGrokStream
(events: unknown[])
tests/unit/grok-web.test.ts:10
↓ 3 callers
Function
mockSSEStream
(chunks: string[])
tests/unit/web-cookie-providers-new.test.ts:15
↓ 3 callers
Function
mockT3ChatSSEResponse
(chunks: string[])
tests/unit/t3-chat-web.test.ts:119
↓ 3 callers
Function
modeToBaselineBoolean
(mode: PreserveSystemPromptMode)
open-sse/services/compression/preserveSystemPromptMode.ts:70
↓ 3 callers
Function
modelIdLikelyVision
(modelId: string | null | undefined)
src/lib/modelCapabilities.ts:255
↓ 3 callers
Function
modelPatternMatches
(pattern: string, candidates: string[])
src/lib/db/apiKeys/modelPermissions.ts:42
↓ 3 callers
Function
mount
(ui: React.ReactElement)
tests/unit/ui/riskGateBadge.test.tsx:11
↓ 3 callers
Function
mount
(ui: React.ReactElement)
tests/unit/ui/compressionUltraTier.test.tsx:17
↓ 3 callers
Function
mountAndNavigateToStep4
(onCreated = vi.fn(), onClose = vi.fn())
tests/unit/dashboard/batch/sanitization.test.tsx:142
↓ 3 callers
Function
mountInContainer
(ui: React.ReactElement)
tests/unit/ui/compressionHub-context-editing.test.tsx:11
↓ 3 callers
Function
mountModelRow
(props: Record<string, unknown> = {})
tests/unit/ui/model-alias-edit.test.tsx:91
↓ 3 callers
Function
msToSeconds
(value: unknown)
src/app/(dashboard)/dashboard/settings/components/ComboDefaultsTab.tsx:25
↓ 3 callers
Function
multiTurn
()
tests/unit/memory-cache-safe-injection.test.ts:28
↓ 3 callers
Function
newChatSessionId
()
open-sse/executors/copilot-m365-connection.ts:85
↓ 3 callers
Function
newListFor
(kind: string)
tests/unit/minimax-media-servicekinds.test.ts:69
↓ 3 callers
Function
nonempty
(u: unknown)
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:537
↓ 3 callers
Function
normalizeAndValidateProxy
( proxy: ProxyConfigInput | null | undefined, pathLabel: string )
src/app/api/settings/proxy/route.ts:99
↓ 3 callers
Function
normalizeBaseUrl
(value?: string)
src/shared/utils/resolveOmniRouteBaseUrl.ts:9
↓ 3 callers
Function
normalizeBuilderStrategy
(value: unknown)
src/app/(dashboard)/dashboard/usage/components/EvalsTab.tsx:238
↓ 3 callers
Function
normalizeClaudeContentBlock
(block: unknown)
open-sse/services/claudeCodeCompatible.ts:956
↓ 3 callers
Function
normalizeCodexLimitPolicy
( incoming: unknown, existing: unknown )
src/app/api/providers/[id]/route.ts:29
↓ 3 callers
Function
normalizeComboConfigMode
(value: unknown)
src/shared/constants/comboConfigMode.ts:7
↓ 3 callers
Function
normalizeComboRecord
( combo: T, options: NormalizeComboRecordOptions = {} )
src/lib/combos/steps.ts:309
↓ 3 callers
Function
normalizeCommandToken
(command: string)
src/lib/acp/registry.ts:257
↓ 3 callers
Function
normalizeConfiguredPath
(dir: unknown)
src/lib/dataPaths.ts:24
↓ 3 callers
Function
normalizeContentToString
(content: string | unknown[] | null | undefined)
open-sse/translator/request/openai-to-claude.ts:187
↓ 3 callers
Function
normalizeDataRobotBaseUrl
(value: string | null | undefined)
open-sse/config/datarobot.ts:9
↓ 3 callers
Function
normalizeDeps
(deps: InternalUsageCommandDeps = {})
src/lib/usage/internalUsageCommand.ts:69
↓ 3 callers
Function
normalizeEffortValue
(value: unknown)
open-sse/executors/codex.ts:634
↓ 3 callers
Function
normalizeEngine
(name)
bin/cli/commands/compression.mjs:11
↓ 3 callers
Function
normalizeExcludedConnectionIds
( excludeConnectionId: string | null, extraExcludedConnectionIds: string[] | null | undefined )
src/sse/services/auth.ts:894
↓ 3 callers
Function
normalizeFingerprintText
(value: unknown)
open-sse/services/taskAwareRouting.ts:394
↓ 3 callers
Function
normalizeHexColor
(color: string)
src/store/themeStore.ts:99
↓ 3 callers
Function
normalizeHiddenSidebarGroupLabels
(value: unknown)
src/shared/constants/sidebarGroupVisibility.ts:16
↓ 3 callers
Function
normalizeImage
(image: unknown, fallback: string)
src/lib/skills/builtins.ts:160
↓ 3 callers
Function
normalizeKey
(provider: unknown, modelId: unknown)
src/lib/db/modelContextOverrides.ts:39
↓ 3 callers
Function
normalizeLine
(line: string)
open-sse/services/compression/engines/rtk/grouper.ts:42
↓ 3 callers
Function
normalizeModelRole
( messages: NormalizedMessage[] | unknown )
open-sse/services/roleNormalizer.ts:178
↓ 3 callers
Function
normalizeMutationRules
(value: unknown)
open-sse/services/payloadRules.ts:97
↓ 3 callers
Function
normalizeNonStreamingEventPayload
(rawBody: string, contentType: string)
open-sse/handlers/chatCore/nonStreamingSse.ts:56
↓ 3 callers
Function
normalizeOpenAICompatibleFinishReason
(value: unknown)
open-sse/utils/finishReason.ts:18
↓ 3 callers
Function
normalizeOrigin
(origin: string)
src/server/cors/origins.ts:52
↓ 3 callers
Function
normalizeOutputIndex
(outputIndex)
open-sse/translator/response/openai-responses.ts:195
↓ 3 callers
Function
normalizeOutputIndex
(outputIndex: number | string)
open-sse/transformer/responsesTransformer.ts:117
↓ 3 callers
Function
normalizePeer
* Strip an IPv4-mapped IPv6 prefix ("::ffff:127.0.0.1" -> "127.0.0.1") so the * loopback check below catches both representations Node may report.
src/lib/ipUtils.ts:33
← previous
next →
6,301–6,400 of 20,485, ranked by callers