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
↓ 6 callers
Function
createEmbeddingResponse
( body: ValidatedEmbeddingBody, options: EmbeddingHandlerOptions = {} )
src/lib/embeddings/service.ts:36
↓ 6 callers
Function
createInvalidProxyError
(message: string)
src/app/api/settings/proxy/route.ts:50
↓ 6 callers
Function
createLogRecorder
()
tests/unit/image-generation-handler.test.ts:41
↓ 6 callers
Function
createObsidianClient
(apiKey: string, baseUrl?: string)
src/lib/obsidian/api.ts:154
↓ 6 callers
Function
createResponsesWsProxy
({ baseUrl, bridgeSecret, fetchImpl = fetch, wsFactory = getWebSocketTransport(), pingIntervalMs = 2
scripts/dev/responses-ws-proxy.mjs:778
↓ 6 callers
Function
createServerListener
( args, tlsOptions, { createHttp = http.createServer.bind(http), createHttps = https.createServer.bind(h
scripts/dev/tls-options.mjs:76
↓ 6 callers
Function
createServiceAccountJson
({ projectId = "vertex-project-123", includeProjectId = true, includeEmail = true, includePrivateKey =
tests/unit/executor-vertex-extended.test.ts:15
↓ 6 callers
Function
day
(n)
tests/unit/feature-triage/integration.test.mjs:44
↓ 6 callers
Function
db
()
src/lib/db/commandCodeAuth.ts:55
↓ 6 callers
Function
decryptMetadata
(encrypted: string | null)
src/lib/webhookDispatcher.ts:28
↓ 6 callers
Function
decryptStored
(stored)
scripts/dev/webdav-handler.mjs:89
↓ 6 callers
Function
dedupeByProviderId
(entries: ProviderFilterEntry[])
tests/unit/providers-free-tier-filter.test.ts:35
↓ 6 callers
Function
defaultOmniRouteCombosFetcher
( baseURL, apiKey, timeoutMs = 10_000 )
@omniroute/opencode-plugin/src/index.ts:859
↓ 6 callers
Function
deleteBatch
(id: string)
src/lib/db/batches.ts:380
↓ 6 callers
Function
deleteModelAlias
(alias: string)
src/lib/db/models/aliases.ts:29
↓ 6 callers
Function
deselectModel
(models: Step[], model: { value?: string } | string)
tests/unit/ui/combo-form-deselect-handler.test.tsx:15
↓ 6 callers
Function
detectAgent
* Detect a single agent by running its version command.
src/lib/acp/registry.ts:307
↓ 6 callers
Function
detectApiFormat
(chunks: SseEvent[])
src/mitm/inspector/sseMerger.ts:37
↓ 6 callers
Function
detectCodeLanguage
(text: string)
open-sse/services/compression/engines/rtk/codeStripper.ts:42
↓ 6 callers
Function
detectDelivered
(issueNumber, signals)
scripts/features/lib/delivered.mjs:52
↓ 6 callers
Function
detectEmbeddingDimensionConflict
(modelStrs: string[])
open-sse/config/embeddingRegistry.ts:374
↓ 6 callers
Function
detectIpLiteralFamily
(host: string)
open-sse/utils/proxyFamily.ts:15
↓ 6 callers
Function
detectMitmCrash
(crashLog)
bin/cli/runtime/processSupervisor.mjs:132
↓ 6 callers
Function
detectProvider
(modelId: string)
src/lib/skills/injection.ts:293
↓ 6 callers
Function
detectVolumeSignals
(body: Record<string, unknown>)
open-sse/services/volumeDetector.ts:78
↓ 6 callers
Function
echoModelInSseLine
(line: string, echoModel: string | null | undefined)
open-sse/services/responseModelEcho.ts:35
↓ 6 callers
Function
embedStatic
(text: string)
src/lib/memory/embedding/staticPotion.ts:220
↓ 6 callers
Function
emit
(obj: object)
open-sse/executors/deepseek-web.ts:204
↓ 6 callers
Function
emit
(draft: ResponseValidationValue)
src/app/(dashboard)/dashboard/combos/ResponseValidationEditor.tsx:57
↓ 6 callers
Function
emptySources
* Builds a minimal sources object for tests that don't need real parsers.
tests/unit/agentSkills-generator.test.ts:45
↓ 6 callers
Function
encodeUInt32Field
(fieldNumber: number, value: number)
open-sse/utils/cursorAgentProtobuf/wire.ts:44
↓ 6 callers
Function
encodedText
(body: Record<string, unknown>)
tests/unit/cursor-agent-tool-calls.test.ts:299
↓ 6 callers
Function
ensureNativeSqlite
(opts = {})
scripts/dev/ensure-native-sqlite.mjs:80
↓ 6 callers
Function
ensureSchema
()
src/lib/db/prompts.ts:92
↓ 6 callers
Function
ensureSyncTokensTable
(db: DbLike)
src/lib/db/syncTokens.ts:51
↓ 6 callers
Function
envInt
(name: string, fallback: number)
open-sse/config/constants.ts:165
↓ 6 callers
Function
errorResp
(status: number, message: string)
src/app/api/playground/presets/route.ts:22
↓ 6 callers
Function
errorResult
( status: number, message: string, code: string, headers: Record<string, string>, transformedBody: u
open-sse/executors/muse-spark-web.ts:996
↓ 6 callers
Function
escapeMd
(s: string)
src/lib/webhooks/integrations/telegram.ts:11
↓ 6 callers
Function
evaluateRequest
(request: PolicyRequest)
src/domain/policyEngine.ts:47
↓ 6 callers
Function
extractAccessToken
(credential: string)
open-sse/executors/copilot-web.ts:96
↓ 6 callers
Function
extractBotText
(frame: Record<string, unknown> | null)
open-sse/executors/copilot-m365-frames.ts:199
↓ 6 callers
Function
extractImageInputs
(body)
open-sse/handlers/imageGeneration.ts:1908
↓ 6 callers
Function
fail
(msg)
bin/cli/commands/redis.mjs:87
↓ 6 callers
Function
fakeClock
A controllable clock so the tests are deterministic (no real time).
tests/unit/sliding-window-limiter.test.ts:7
↓ 6 callers
Function
fakeDeps
(over: Record<string, unknown> = {})
tests/unit/tproxy-ca-trust.test.ts:17
↓ 6 callers
Function
fetchArenaLeaderboards
()
src/lib/arenaEloSync.ts:230
↓ 6 callers
Function
fetchData
()
src/app/(dashboard)/dashboard/api-manager/ApiManagerPageClient.tsx:360
↓ 6 callers
Function
fetchHealth
()
src/shared/components/TokenHealthBadge.tsx:28
↓ 6 callers
Function
fetchKiroAvailableModels
( options: FetchKiroModelsOptions )
open-sse/services/kiroModels.ts:165
↓ 6 callers
Function
fetchModelsDev
(signal?: AbortSignal)
src/lib/modelsDevSync.ts:138
↓ 6 callers
Function
fetchWithTimeout
(url, options = {}, timeoutMs = CLOUD_SYNC_TIMEOUT_MS)
src/lib/cloudSync.ts:73
↓ 6 callers
Function
filterModelsByProvider
(allModels: string[], provider?: string)
src/app/(dashboard)/dashboard/translator/hooks/useAvailableModels.tsx:34
↓ 6 callers
Function
filterTargetsByRequestCompatibility
( targets: ResolvedComboTarget[], body: Record<string, unknown>, log: ComboLogger, label = "Context-aw
open-sse/services/combo/comboStructure.ts:534
↓ 6 callers
Function
filterToOpenAIFormat
(body, opts = {})
open-sse/translator/helpers/openaiHelper.ts:34
↓ 6 callers
Function
finalizeTokens
(providerName, tokens)
src/lib/oauth/providers.ts:183
↓ 6 callers
Function
findFunctionCall
(result: any)
tests/unit/vertex-functioncall-id-3440.test.ts:23
↓ 6 callers
Function
findKeyInsensitive
(obj: Record<string, any> | undefined | null, key: string)
src/app/api/usage/analytics/route.ts:100
↓ 6 callers
Function
findModel
(models: InnerAiModel[], requestedId: string)
open-sse/executors/inner-ai.ts:314
↓ 6 callers
Function
findOffendingField
(bodyText: string)
open-sse/config/providerFieldStrips.ts:11
↓ 6 callers
Function
findSection
(id: string)
tests/unit/sidebar-costs-section.test.ts:6
↓ 6 callers
Function
flattenCodexImportPayload
(parsed: unknown)
src/lib/oauth/services/codexImport.ts:206
↓ 6 callers
Function
flush
()
tests/unit/token-limits.test.ts:14
↓ 6 callers
Function
flushBackgroundWork
()
tests/unit/limiter-lifecycle.test.ts:40
↓ 6 callers
Function
flushPendingSyncs
* Drain all pending microtasks and one round of macrotasks so that any * fire-and-forget `syncQuotaCombosGuarded` calls dispatched by createPool / *
tests/unit/quota-multiprovider.test.ts:103
↓ 6 callers
Function
flushWrites
()
tests/unit/sse-auth.test.ts:62
↓ 6 callers
Function
fmt
(n: number)
src/app/(dashboard)/dashboard/compression/studio/WaterfallInspector.tsx:18
↓ 6 callers
Function
formatCodeGraphResult
(result: CodeGraphQueryResult)
src/lib/copilot/tools.ts:46
↓ 6 callers
Function
formatCurrencyCost
(locale: string, value: number)
src/app/(dashboard)/dashboard/costs/CostOverviewTab.tsx:164
↓ 6 callers
Function
formatShare
(value: number)
src/app/(dashboard)/dashboard/analytics/ComboHealthTab.tsx:31
↓ 6 callers
Function
fusionCombo
(models: string[], extra: Record<string, unknown> = {})
tests/unit/combo-fusion-strategy.test.ts:40
↓ 6 callers
Function
generateAuthData
(providerName, redirectUri)
src/lib/oauth/providers.ts:111
↓ 6 callers
Function
getAccountHealth
( account: AccountState | null | undefined, model?: unknown )
open-sse/services/accountFallback.ts:1779
↓ 6 callers
Function
getAggregatedSnapshotsForTest
( db: Database.Database, opts: { provider?: string; since: string; until?: string; bucketM
src/lib/db/__tests__/quotaSnapshots.test.ts:119
↓ 6 callers
Function
getAllModelsFromRegistry
( registry: Record<string, P>, extra?: (providerId: string, config: P) => Record<string, unknown> )
open-sse/config/registryUtils.ts:82
↓ 6 callers
Function
getAllSyncedAvailableModels
()
src/lib/db/models.ts:419
↓ 6 callers
Function
getAllowedQuotasById
(keyId: string)
tests/unit/quota-pool-delete-prune.test.ts:63
↓ 6 callers
Function
getAntigravityFetchAvailableModelsUrls
()
open-sse/config/antigravityUpstream.ts:18
↓ 6 callers
Function
getCacheMetrics
()
src/lib/db/settings/cacheMetrics.ts:7
↓ 6 callers
Function
getCallLogs
(filter: any = {})
src/lib/usage/callLogs.ts:697
↓ 6 callers
Function
getClaudeCodeCompatibleRequestDefaults
(providerSpecificData: unknown)
src/lib/providers/requestDefaults.ts:299
↓ 6 callers
Function
getCliToken
()
bin/cli/utils/cliToken.mjs:8
↓ 6 callers
Function
getCodexEffectiveServiceTier
( providerSpecificData: unknown, globalServiceMode: CodexGlobalServiceMode | boolean )
src/lib/providers/codexFastTier.ts:86
↓ 6 callers
Function
getCodexGlobalServiceMode
(settings: unknown)
src/lib/providers/codexFastTier.ts:77
↓ 6 callers
Function
getCodexRequestDefaults
(providerSpecificData: unknown)
src/lib/providers/requestDefaults.ts:286
↓ 6 callers
Function
getCodexScopeRateLimitedUntil
( providerSpecificData: JsonRecord, model: string | null )
src/sse/services/auth.ts:386
↓ 6 callers
Function
getComboById
(id: string)
src/lib/db/combos.ts:112
↓ 6 callers
Function
getComboModelString
(value: unknown)
src/lib/combos/steps.ts:151
↓ 6 callers
Function
getCompatibleFallbackModels
( providerId: string, fallbackModels: ManagedAvailableModel[] = [] )
src/lib/providers/managedAvailableModels.ts:10
↓ 6 callers
Function
getCopilotTool
(name: string)
src/lib/copilot/tools.ts:409
↓ 6 callers
Function
getCurrentConnectionId
()
open-sse/handlers/chatCore.ts:412
↓ 6 callers
Function
getCursorUserAgent
(version: string)
open-sse/config/providerHeaderProfiles.ts:175
↓ 6 callers
Function
getCustomVisionCapabilityFields
( entry: { supportsVision?: boolean } | null | undefined, ...candidateIds: Array<string | null | undefined
src/app/api/v1/models/catalogVision.ts:30
↓ 6 callers
Function
getDb
()
tests/unit/quota-groups-migration.test.ts:57
↓ 6 callers
Function
getDb
()
tests/unit/db-quota-migrations-idempotency.test.ts:25
↓ 6 callers
Function
getDefaultThinkingBudget
(input: CapabilityInput)
src/lib/modelCapabilities.ts:427
↓ 6 callers
Function
getErrorMessage
(error: unknown)
src/mitm/systemCommands.ts:7
↓ 6 callers
Function
getFallbackChain
(db, providerId)
tests/unit/db-upstreamProxy.test.ts:135
↓ 6 callers
Function
getFunctionResponse
(part: unknown)
tests/unit/translator-openai-to-gemini.test.ts:35
↓ 6 callers
Function
getGroupPermissions
(groupId: string)
src/lib/db/apiKeyGroups.ts:120
← previous
next →
3,001–3,100 of 20,485, ranked by callers