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
↓ 2 callers
Function
buildOmniRouteSseMetadataComment
( options: Parameters<typeof buildOmniRouteResponseMetaHeaders>[0] )
src/domain/omnirouteResponseMeta.ts:148
↓ 2 callers
Function
buildOutputFromText
()
open-sse/utils/streamPayloadCollector.ts:265
↓ 2 callers
Function
buildPostRequest
(body)
tests/unit/provider-models-token-limits.test.ts:22
↓ 2 callers
Function
buildPrekeyConfig
(userAgent: string, dpl: string, scriptSrc: string)
open-sse/executors/chatgpt-web.ts:819
↓ 2 callers
Function
buildPresetUnifiedSource
(opts: BuildUnifiedSourceOptions)
src/lib/db/usageAnalytics/sources.ts:147
↓ 2 callers
Function
buildProps
(overrides: Partial<ProviderModelsSectionProps>)
src/app/(dashboard)/dashboard/providers/[id]/__tests__/providerModelsSectionVisibilityKey.test.tsx:74
↓ 2 callers
Function
buildProps
( overrides: Partial<ModelVisibilityToolbarProps> )
src/app/(dashboard)/dashboard/providers/[id]/__tests__/modelVisibilityToolbarActiveCount.test.tsx:30
↓ 2 callers
Function
buildProviderHealth
(provider: string, snapshots: QuotaSnapshotRow[])
src/lib/usage/comboHealth.ts:115
↓ 2 callers
Function
buildProviderProfile
( category: "oauth" | "apikey", settings?: Record<string, unknown> | null )
open-sse/services/accountFallback.ts:323
↓ 2 callers
Function
buildQdrantSettingsResponse
(settings: Record<string, unknown>)
src/app/api/settings/qdrant/route.ts:19
↓ 2 callers
Function
buildRepairNote
(message: string, checkedAt: string)
src/lib/db/healthCheck.ts:109
↓ 2 callers
Function
buildReplayResponse
* Build a Response whose body first replays all bytes in `bufferedChunks`, * then forwards the remainder of `readerToForward` chunk-by-chunk.
open-sse/services/combo/validateQuality.ts:185
↓ 2 callers
Function
buildReplayWarnings
(log: ExplainLog, comboWarnings: string[])
src/lib/usage/routeExplain.ts:522
↓ 2 callers
Function
buildReport
(lines)
scripts/check/check-pr-test-policy.mjs:57
↓ 2 callers
Function
buildReport
(lines)
scripts/check/check-pr-evidence.mjs:175
↓ 2 callers
Function
buildRequestContext
(execId: string)
tests/unit/cursor-streaming.test.ts:175
↓ 2 callers
Function
buildResponsesOutputItemKey
(item: unknown)
open-sse/utils/responsesStreamHelpers.ts:82
↓ 2 callers
Function
buildResponsesReasoningDeltaChunk
(state, text)
open-sse/translator/response/openai-responses.ts:664
↓ 2 callers
Function
buildResponsesSse
(text = "Brasilia")
tests/unit/codex-stream-false.test.ts:56
↓ 2 callers
Function
buildRooVscodeAutoImport
(existing, importPath)
bin/cli/commands/setup-roo.mjs:69
↓ 2 callers
Function
buildRunwayHeaders
(apiKey: string)
open-sse/config/runway.ts:33
↓ 2 callers
Function
buildSapChatUrl
(value: string | null | undefined)
open-sse/config/sap.ts:29
↓ 2 callers
Function
buildSapModelsUrl
(value: string | null | undefined)
open-sse/config/sap.ts:35
↓ 2 callers
Function
buildServeExecLine
(cliPath, { tray = false } = {})
bin/cli/tray/autostart.mjs:42
↓ 2 callers
Function
buildSmokeEnv
({ dataDir, parentEnv = process.env, currentPlatform = platform(), } = {})
scripts/dev/smoke-electron-packaged.mjs:275
↓ 2 callers
Function
buildStep
(engine: string, fuzzy?: { enabled: boolean })
src/app/api/compression/preview/route.ts:93
↓ 2 callers
Method
buildStompSubscribe
(destination: string, id: string)
open-sse/executors/chipotle.ts:246
↓ 2 callers
Function
buildStoppedState
( state: PersistedTunnelState, binaryResolved: boolean, targetUrl = getLocalTargetUrl() )
src/lib/cloudflaredTunnel.ts:409
↓ 2 callers
Function
buildStreamingResponse
( responseText: string, model: string, id: string, created: number )
open-sse/executors/blackbox-web.ts:179
↓ 2 callers
Function
buildSynthesizedStream
( content: string, model: string, id: string, created: number )
open-sse/executors/nlpcloud.ts:173
↓ 2 callers
Function
buildTargetMetric
( modelStr: string, target: ComboRequestTargetMeta )
open-sse/services/comboMetrics.ts:156
↓ 2 callers
Function
buildTelemetryPayload
({ summary, quotaMonitorSummary, activeSessions, }: BuildTelemetryPayloadOptions)
src/lib/monitoring/observability.ts:120
↓ 2 callers
Function
buildToolAwareResult
( rawContent: string, requestedTools: unknown, idSeed = "call" )
open-sse/translator/webTools.ts:516
↓ 2 callers
Function
buildToolResultBlock
(toolName: string, toolCallId: string, resultText: string)
open-sse/translator/request/openai-to-cursor.ts:57
↓ 2 callers
Method
buildUrl
( model: string, stream: boolean, urlIndex = 0, credentials: ProviderCredentials | null = null
open-sse/executors/base.ts:509
↓ 2 callers
Function
buildWatsonxChatUrl
(value: string | null | undefined)
open-sse/config/watsonx.ts:37
↓ 2 callers
Function
buildWatsonxModelsUrl
(value: string | null | undefined)
open-sse/config/watsonx.ts:41
↓ 2 callers
Function
buildWhereClause
()
src/lib/db/recovery.ts:9
↓ 2 callers
Function
bulkAssignProxyToScope
( scope: string, scopeIds: string[], proxyId: string | null )
src/lib/db/proxies.ts:763
↓ 2 callers
Function
bump
(file, key)
scripts/quality/mutation-radiography.mjs:81
↓ 2 callers
Function
byId
(models, id)
bin/cli/commands/configure.mjs:157
↓ 2 callers
Function
byTextIncludes
(el: HTMLElement, text: string)
tests/unit/ui/model-visibility-toolbar-free.test.tsx:40
↓ 2 callers
Function
cacheEntry
(quotas: Record<string, unknown>)
tests/unit/provider-limits-sanitize-scope-3821.test.ts:47
↓ 2 callers
Function
cacheKey
(provider: string, connectionId: string)
open-sse/services/genericQuotaFetcher.ts:40
↓ 2 callers
Method
cacheKey
(skill: Pick<Skill, "apiKeyId" | "name" | "version">)
src/lib/skills/registry.ts:38
↓ 2 callers
Function
cacheReasoningBatch
( toolCallIds: string[], provider: string, model: string, reasoning: string )
open-sse/services/reasoningCache.ts:224
↓ 2 callers
Function
cachedMatchPattern
(pattern: string, value: string)
open-sse/services/compression/engines/rtk/filterLoader.ts:16
↓ 2 callers
Method
calculateFitness
(assessment: ModelAssessment, category: ModelCategory)
src/domain/assessment/categorizer.ts:79
↓ 2 callers
Function
callA2A
(method: string, params: Record<string, unknown>, id: string)
tests/e2e/protocol-clients.test.ts:29
↓ 2 callers
Function
callSyncRoute
(connectionId: string)
tests/unit/siliconflow-model-sync.test.ts:40
↓ 2 callers
Function
camelCase
(s)
scripts/cli/generate-api-commands.mjs:39
↓ 2 callers
Function
canDeleteBatch
(status: string)
tests/unit/batch-deletion-route-logic.test.ts:20
↓ 2 callers
Method
cancel
* Cancel the current login flow
open-sse/services/inAppLoginService.ts:221
↓ 2 callers
Function
cancelResponseBody
(response: Response)
src/shared/network/safeOutboundFetch.ts:225
↓ 2 callers
Method
cancelTask
(taskId: string)
src/lib/a2a/taskManager.ts:145
↓ 2 callers
Function
candidate
( provider: string, model: string, connectionId: string, overrides: Partial<AutoProviderCandidate> = {
tests/unit/combo/auto-status-penalty-4540.test.ts:46
↓ 2 callers
Function
capExtractionText
(text: string)
src/lib/memory/extraction.ts:71
↓ 2 callers
Function
capability
(limitContext: number)
tests/unit/combo-strategies.test.ts:48
↓ 2 callers
Function
capturePreparedRequest
( requestCapture: Capture | null | undefined, url: string, headers: Record<string, string>, body: unkn
open-sse/utils/providerRequestLogging.ts:82
↓ 2 callers
Function
captureSql
(run: () => void)
tests/unit/call-log-oom-unbounded-5618.test.ts:44
↓ 2 callers
Function
captureStdout
(fn: () => Promise<number>)
tests/unit/cli-models-command.test.ts:25
↓ 2 callers
Function
captureStdout
(fn: () => Promise<void>)
tests/unit/cli-pricing-commands.test.ts:18
↓ 2 callers
Function
captureStdout
(fn: () => Promise<void>)
tests/unit/cli-a2a-invoke-commands.test.ts:28
↓ 2 callers
Function
captureUpstreamBody
( body: Record<string, unknown> )
tests/unit/claude-thinking-tool-choice-guard.test.ts:35
↓ 2 callers
Function
casGuardShouldSkipPersist
* Returns true when the persist should be SKIPPED because a concurrent writer * already rotated the row's refresh_token past the one we presented (CA
open-sse/services/tokenRefresh.ts:227
↓ 2 callers
Function
cfg
(overrides: Partial<CompressionConfig> = {})
tests/unit/compression-cache-guard-3955.test.ts:42
↓ 2 callers
Function
chatFn
()
src/sse/handlers/chatHelpers.ts:401
↓ 2 callers
Function
checkAndRefreshToken
(provider: string, credentials: any)
src/sse/services/tokenRefresh.ts:167
↓ 2 callers
Function
checkAuth
(request: Request)
src/app/api/playground/presets/route.ts:29
↓ 2 callers
Method
checkCircuit
()
open-sse/utils/tlsClient.ts:129
↓ 2 callers
Function
checkClaudeStatus
()
src/app/(dashboard)/dashboard/cli-code/components/ClaudeToolCard.tsx:116
↓ 2 callers
Function
checkHealth
()
src/app/(dashboard)/dashboard/memory/components/tabs/MemoriesTab.tsx:225
↓ 2 callers
Function
checkInMemoryRateLimit
( store: Map<string, number>, keyId: string, rules: RateLimitRule[] )
src/shared/utils/rateLimiter.ts:169
↓ 2 callers
Function
checkKeyModelAccess
( keyId: string, model: string, provider?: string )
src/lib/db/apiKeyGroups.ts:224
↓ 2 callers
Function
checkPort
(port, label)
bin/cli/commands/doctor.mjs:221
↓ 2 callers
Function
checkQdrantHealth
()
src/lib/memory/qdrant.ts:178
↓ 2 callers
Function
checkQuota
(provider = "", accountId = "")
src/lib/db/registeredKeys.ts:128
↓ 2 callers
Function
checkRateLimit
(tokenId: string)
src/lib/db/relayProxies.ts:238
↓ 2 callers
Function
checkTokenLimits
( apiKeyId: string, provider = "", model = "", now = Date.now() )
open-sse/services/tokenLimitCounter.ts:192
↓ 2 callers
Function
chunk
(delta: Record<string, unknown>, fr: string | null)
open-sse/executors/chatgptWebTools.ts:76
↓ 2 callers
Function
chunk
(delta: Record<string, unknown>, finishReason: string | null)
open-sse/services/autoCombo/pipelineRouter.ts:399
↓ 2 callers
Function
clamp
(value: number, min: number, max: number)
src/shared/contracts/quota.ts:39
↓ 2 callers
Function
clampCount
(n: number | undefined)
open-sse/services/compression/engines/ccr/ccrQuery.ts:31
↓ 2 callers
Function
clampInteger
(value: unknown, fallback: number, min: number, max: number)
src/lib/memory/settings.ts:48
↓ 2 callers
Function
clampPercent
(value: number)
open-sse/services/combo.ts:255
↓ 2 callers
Function
clampPercent
(value: number)
src/lib/usage/apiKeyUsageLimits.ts:90
↓ 2 callers
Function
clampRunwayDuration
(value)
open-sse/handlers/videoGeneration.ts:993
↓ 2 callers
Function
clampStickyRoundRobinTargetLimit
(value: unknown)
open-sse/services/combo/rrState.ts:30
↓ 2 callers
Function
clampUtil
Clamp an arbitrary number into [0,1]; non-finite → 0 (generous default).
open-sse/services/combo/headroomRanking.ts:43
↓ 2 callers
Function
classifyLockoutReason
(status: number)
open-sse/services/accountFallback.ts:682
↓ 2 callers
Function
classifyTiers
( targets: Array<{ provider: string; model: string }> )
open-sse/services/tierResolver.ts:132
↓ 2 callers
Function
classifyTool
(name: unknown)
open-sse/services/compression/engines/readLifecycle/index.ts:47
↓ 2 callers
Function
claudeStreamWithAppliedEdits
()
tests/unit/context-editing-streaming-telemetry.test.ts:29
↓ 2 callers
Function
claudeUsageResponse
()
tests/unit/provider-limits-proxy-fail-closed.test.ts:46
↓ 2 callers
Function
cleanInstalledPluginDirs
()
tests/unit/plugins-fs-safety.test.ts:108
↓ 2 callers
Function
cleanModelName
* Strip provider prefixes (e.g. "antigravity/model" → "model"). * Ensures the model name sent to the upstream API never contains a routing prefix. *
open-sse/executors/antigravity.ts:462
↓ 2 callers
Function
cleanReasoningFragment
(text: string)
open-sse/handlers/responseSanitizer/reasoning.ts:29
↓ 2 callers
Function
cleanSourceDirs
()
tests/unit/plugins-fs-safety.test.ts:128
↓ 2 callers
Function
cleanup
()
src/mitm/tproxy/captureMode.ts:176
↓ 2 callers
Function
cleanup
()
src/lib/oauth/codexDeviceFlow.ts:109
← previous
next →
7,201–7,300 of 20,485, ranked by callers