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
getDb
* Lazy-load the database connection. * Uses the same SQLite database as the main OmniRoute app. * * Driver priority: * 1. better-sqlite3 — fast
open-sse/mcp-server/audit.ts:222
↓ 3 callers
Function
getDb
()
src/lib/db/core.ts:467
↓ 3 callers
Function
getDebugToggle
(page)
tests/e2e/settings-toggles.spec.ts:11
↓ 3 callers
Function
getDefaultModel
(aliasOrId: string)
open-sse/config/providerModels.ts:21
↓ 3 callers
Function
getDefaultPort
(type)
src/shared/components/ProxyConfigModal.tsx:145
↓ 3 callers
Function
getDetectedToolLimit
(provider: string)
open-sse/services/toolLimitDetector.ts:76
↓ 3 callers
Function
getDispatcherCache
()
open-sse/utils/proxyDispatcherCache.ts:70
↓ 3 callers
Function
getEarliestRateLimitedUntil
( accounts: Array<{ rateLimitedUntil?: string | null }> )
open-sse/services/accountFallback.ts:1679
↓ 3 callers
Function
getEffectiveBaseUrl
()
src/app/(dashboard)/dashboard/cli-code/components/CodexToolCard.tsx:128
↓ 3 callers
Function
getEngine
(id: string)
open-sse/services/compression/engines/registry.ts:41
↓ 3 callers
Function
getEngineEntry
(id: string)
open-sse/services/compression/engines/registry.ts:49
↓ 3 callers
Function
getErrorMessage
(error: unknown, fallbackMessage: string)
src/app/api/settings/proxy/test/route.ts:20
↓ 3 callers
Function
getExampleTemplates
(t: TranslatorMessage)
src/app/(dashboard)/dashboard/translator/exampleTemplates.tsx:9
↓ 3 callers
Function
getExtractionConfig
(providerId: string)
open-sse/services/tokenExtractionConfig.ts:408
↓ 3 callers
Method
getFallbackCount
()
open-sse/executors/base.ts:493
↓ 3 callers
Function
getFallbackModels
( excludeModel: string, config: Partial<VisionBridgeRouterConfig> = {} )
src/lib/guardrails/visionBridgeRouter.ts:218
↓ 3 callers
Function
getGitHubCopilotInternalUserHeaders
(authorization: string)
open-sse/config/providerHeaderProfiles.ts:93
↓ 3 callers
Function
getGitHubCopilotRefreshHeaders
(authorization: string)
open-sse/config/providerHeaderProfiles.ts:104
↓ 3 callers
Function
getGlmAnthropicBaseUrl
( providerSpecificData: unknown, fallbackBaseUrl?: string | null )
open-sse/config/glmProvider.ts:294
↓ 3 callers
Function
getGlmTransport
(providerSpecificData: unknown, fallbackBaseUrl?: string | null)
open-sse/config/glmProvider.ts:341
↓ 3 callers
Function
getGroupMembers
(groupId: string)
src/lib/db/apiKeyGroups.ts:160
↓ 3 callers
Function
getHelpResponse
()
src/lib/copilot/engine.ts:246
↓ 3 callers
Function
getIdempotencyStats
()
src/lib/idempotencyLayer.ts:84
↓ 3 callers
Function
getIds
()
tests/unit/models-catalog-block-auto-5192.test.ts:35
↓ 3 callers
Function
getInstalledVersion
()
src/lib/services/installers/ninerouter.ts:35
↓ 3 callers
Method
getJwtForAccount
( account: AccountState, signal?: AbortSignal | null )
open-sse/executors/mimocode.ts:314
↓ 3 callers
Function
getKeyGroupsForApiKey
(keyId: string)
src/lib/db/apiKeyGroups.ts:168
↓ 3 callers
Function
getKieCallbackUrl
(body: KieCallbackBody = {})
open-sse/utils/kieTask.ts:45
↓ 3 callers
Function
getKieErrorMessage
(error: unknown, fallback: string)
open-sse/utils/kieTask.ts:117
↓ 3 callers
Function
getKieErrorStatus
(error: unknown, fallback = 502)
open-sse/utils/kieTask.ts:106
↓ 3 callers
Function
getKiroServiceHeaders
( accept = "application/vnd.amazon.eventstream" )
open-sse/config/providerHeaderProfiles.ts:163
↓ 3 callers
Function
getKiroUsage
* Kiro Credits * Fetches credit balance from Kiro's AWS CodeWhisperer backend. * The endpoint mirrors what Kiro IDE uses internally for the credit b
src/lib/usage/fetcher.ts:439
↓ 3 callers
Function
getLKGP
(comboName: string, modelId: string)
src/lib/db/settings/lkgp.ts:12
↓ 3 callers
Function
getLastProviderLimitsAutoSyncTime
()
src/lib/usage/providerLimits.ts:529
↓ 3 callers
Function
getLastSessionModel
(sessionId: string, comboName: string)
src/lib/db/contextHandoffs.ts:205
↓ 3 callers
Function
getLatestVersion
()
src/lib/services/installers/cliproxy.ts:50
↓ 3 callers
Function
getLatestVersionFromGitHub
( fetchImpl: typeof fetch = fetch )
src/lib/system/versionCheck.ts:115
↓ 3 callers
Function
getLegacyDotDataDir
()
src/lib/dataPaths.ts:31
↓ 3 callers
Function
getLocalTargetUrl
()
src/lib/cloudflaredTunnel.ts:180
↓ 3 callers
Function
getLogFilePath
()
src/lib/cloudflaredTunnel.ts:158
↓ 3 callers
Function
getMappingsForAgent
(agentId: string)
src/lib/db/agentBridgeMappings.ts:9
↓ 3 callers
Function
getMaxPendingRequestAgeMs
( rawValue: string | undefined = process.env.MAX_PENDING_REQUEST_AGE_MS )
src/lib/usage/usageHistory.ts:157
↓ 3 callers
Function
getMcpDescriptionCompressionStats
()
open-sse/mcp-server/descriptionCompressor.ts:170
↓ 3 callers
Function
getMergedBannedSignals
()
open-sse/services/accountFallback.ts:144
↓ 3 callers
Function
getMetricValue
(metric: string)
src/lib/semanticCache.ts:63
↓ 3 callers
Function
getMiniMaxUsage
(apiKey: string, provider: "minimax" | "minimax-cn")
open-sse/services/usage/minimax.ts:213
↓ 3 callers
Function
getModePack
(name: string)
open-sse/services/autoCombo/modePacks.ts:96
↓ 3 callers
Function
getModePackNames
()
open-sse/services/autoCombo/modePacks.ts:103
↓ 3 callers
Function
getModelComboMappingById
(id: string)
src/lib/db/modelComboMappings.ts:102
↓ 3 callers
Function
getModelContextLimitForModelString
(modelStr: string)
open-sse/services/combo/comboStructure.ts:405
↓ 3 callers
Function
getModelPricing
(provider: string, model: string)
open-sse/services/providerCostData.ts:37
↓ 3 callers
Function
getModelString
(entry)
src/app/(dashboard)/dashboard/combos/page.tsx:578
↓ 3 callers
Function
getModelSyncInternalBaseUrl
()
src/shared/services/modelSyncScheduler.ts:36
↓ 3 callers
Function
getMonthlyProviderTokensForConnection
( provider: string, connectionId: string )
src/lib/usage/usageStats.ts:198
↓ 3 callers
Function
getMsUntilTomorrow
()
open-sse/services/accountFallback.ts:1216
↓ 3 callers
Function
getMusicProvider
(providerId: string)
open-sse/config/musicRegistry.ts:99
↓ 3 callers
Function
getNested
Read a nested property by key path without throwing on missing intermediates.
open-sse/config/contextEditing.ts:111
↓ 3 callers
Function
getNodeRuntimeSupport
(version: string = process.versions.node)
src/shared/utils/nodeRuntimeSupport.ts:74
↓ 3 callers
Function
getOmniRouteTokenCounts
(usage: UsageLike)
src/domain/omnirouteResponseMeta.ts:54
↓ 3 callers
Function
getOpenAIIntermediateChunks
(value: unknown)
open-sse/utils/stream.ts:556
↓ 3 callers
Function
getOrInitSupervisor
()
src/app/api/services/cliproxy/_lib.ts:13
↓ 3 callers
Function
getPair
( apiKeyId: string, dimensionKey: string, currentBucket: number )
src/lib/db/quotaConsumption.ts:123
↓ 3 callers
Function
getPathSegments
(pathValue: string)
open-sse/services/payloadRules.ts:252
↓ 3 callers
Function
getPendingBatches
()
src/lib/db/batches.ts:360
↓ 3 callers
Function
getPidFilePath
()
src/lib/tailscaleTunnel.ts:143
↓ 3 callers
Function
getPidFilePath
()
src/lib/cloudflaredTunnel.ts:154
↓ 3 callers
Method
getPlugin
* Get plugin by name from DB.
src/lib/plugins/manager.ts:574
↓ 3 callers
Function
getPluginAnalyticsSummary
(pluginName: string)
src/lib/db/plugins.ts:261
↓ 3 callers
Method
getPolicies
()
src/domain/policyEngine.ts:129
↓ 3 callers
Method
getPromptCacheSessionId
* Derive a stable session ID for prompt cache affinity. * Priority: per-conversation session_id/conversation_id from request body → workspaceId.
open-sse/executors/codex.ts:1190
↓ 3 callers
Function
getProviderBaseUrlHint
( providerId?: string | null, t?: ((key: string, values?: Record<string, unknown>) => string) | null )
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:267
↓ 3 callers
Function
getProviderBaseUrlPlaceholder
(providerId?: string | null)
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:298
↓ 3 callers
Function
getProviderCredentialsWithQuotaPreflight
( provider: string, excludeConnectionId: string | null = null, allowedConnections: string[] | null = nul
src/sse/services/auth.ts:1704
↓ 3 callers
Function
getProviderDataString
( credentials: AntigravityCredentialsLike | null | undefined, key: string )
open-sse/services/antigravityIdentity.ts:37
↓ 3 callers
Function
getProviderQuotaWindowStart
( connectionId: string, targetResetAtIso: string, nowMs = Date.now() )
src/lib/db/quotaResetEvents.ts:298
↓ 3 callers
Function
getProviderSettingString
( params: Pick<SearchRequestParams, "providerOptions" | "providerSpecificData">, key: string )
open-sse/handlers/search.ts:241
↓ 3 callers
Function
getProviderSpecificString
(data: JsonRecord | undefined, keys: string[])
open-sse/services/opencodeOllamaUsage.ts:92
↓ 3 callers
Function
getProviderTimeout
(provider: string)
src/shared/utils/requestTimeout.ts:62
↓ 3 callers
Function
getProxyLogsTableMaxRows
()
src/lib/logEnv.ts:119
↓ 3 callers
Function
getProxyRowById
( db: ReturnType<typeof getDbInstance>, id: string, options?: { includeSecrets?: boolean } )
src/lib/db/proxies.ts:233
↓ 3 callers
Function
getQuotaMonitorSnapshot
(sessionId: string)
open-sse/services/quotaMonitor.ts:330
↓ 3 callers
Function
getQuotaMonitorSummary
()
open-sse/services/quotaMonitor.ts:345
↓ 3 callers
Function
getQuotaRemainingPercentage
(q: any)
src/app/(dashboard)/dashboard/usage/components/ProviderLimits/utils.tsx:349
↓ 3 callers
Function
getQuotaScopeLabelForProvider
( provider: string | null | undefined, model: string | null | undefined )
open-sse/services/antigravityQuotaFamily.ts:50
↓ 3 callers
Function
getReadmeFileName
(code)
scripts/i18n/generate-multilang.mjs:441
↓ 3 callers
Function
getReasoningCache
( toolCallId: string )
src/lib/db/reasoningCache.ts:102
↓ 3 callers
Function
getReasoningCacheServiceEntries
( opts: { limit?: number; offset?: number; provider?: string; model?: string; } = {} )
open-sse/services/reasoningCache.ts:397
↓ 3 callers
Function
getRecord
(value: unknown)
tests/unit/executor-codex.test.ts:38
↓ 3 callers
Function
getRedisClient
()
src/shared/utils/rateLimiter.ts:46
↓ 3 callers
Function
getRedisQuotaStore
(url: string)
src/lib/quota/redisQuotaStore.ts:341
↓ 3 callers
Function
getRefreshCacheKey
(provider, refreshToken)
open-sse/services/tokenRefresh.ts:266
↓ 3 callers
Function
getRelayLogs
(tokenId?: string, limit = 50)
src/lib/db/relayProxies.ts:354
↓ 3 callers
Function
getRelayToken
(id: string)
src/lib/db/relayProxies.ts:153
↓ 3 callers
Function
getReq
(id: string)
tests/integration/playground-presets-zod.test.ts:57
↓ 3 callers
Function
getRequestPathname
(request: RequestLike | Request | null | undefined)
src/shared/utils/apiAuth.ts:32
↓ 3 callers
Function
getResolvedComboControlCenterTargets
( health?: ComboControlCenterHealth | null )
src/lib/combos/controlCenter.ts:178
↓ 3 callers
Function
getRtkFilterCatalog
()
open-sse/services/compression/engines/rtk/filterLoader.ts:208
↓ 3 callers
Function
getSapResourceGroup
( providerSpecificData: Record<string, unknown> | null | undefined, fallback = "default" )
open-sse/config/sap.ts:41
↓ 3 callers
Function
getSchedulePath
()
bin/cli/commands/backup.mjs:336
↓ 3 callers
Function
getServicePidPath
(service)
bin/cli/utils/pid.mjs:7
← previous
next →
6,001–6,100 of 20,485, ranked by callers