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
↓ 10 callers
Function
isBackgroundTask
( body: BackgroundTaskBody | unknown, headers: Record<string, string> | null = null )
open-sse/services/backgroundTaskDetector.ts:226
↓ 10 callers
Function
isClientDisconnectError
(error: unknown)
open-sse/utils/streamHandler.ts:155
↓ 10 callers
Function
isDailyQuotaExhausted
(errorText: string)
open-sse/services/accountFallback.ts:1233
↓ 10 callers
Function
isExpressApiKey
(apiKey?: string | null)
open-sse/executors/vertex.ts:54
↓ 10 callers
Function
isFlatRateProvider
(providerId: string | null | undefined)
src/lib/usage/flatRateProviders.ts:53
↓ 10 callers
Function
isInternalUsageCommand
(text: string | null | undefined)
src/lib/usage/internalUsageCommand.ts:218
↓ 10 callers
Function
isLocalStreamLifecycleError
(error: unknown)
src/shared/utils/circuitBreaker.ts:38
↓ 10 callers
Function
isNativeAbiMismatch
(message)
scripts/dev/ensure-native-sqlite.mjs:50
↓ 10 callers
Function
isNewer
(latest: string | null | undefined, current: string)
src/lib/system/versionCheck.ts:58
↓ 10 callers
Function
isOmniRouteCustomModel
(entry: { id?: unknown } | null | undefined)
src/shared/services/droidCustomModels.ts:116
↓ 10 callers
Function
isRecord
(v: unknown)
@omniroute/opencode-plugin/src/index.ts:3054
↓ 10 callers
Function
isRelayProxyType
(type: unknown)
src/lib/db/proxies/mappers.ts:53
↓ 10 callers
Function
isRequireApiKeyEnabled
()
src/shared/utils/featureFlags.ts:59
↓ 10 callers
Function
isRetryableStreamError
(error: unknown)
open-sse/services/streamRecovery.ts:125
↓ 10 callers
Function
isRiskAcknowledged
(providerId: string)
src/app/(dashboard)/dashboard/providers/hooks/useRiskAcknowledged.ts:52
↓ 10 callers
Function
isSelfInflictedUpstreamTimeout
( status: number, errorType: string | undefined | null, provider: string )
open-sse/handlers/chatCore/cooldownClassification.ts:16
↓ 10 callers
Function
isSocks5ProxyEnabled
()
open-sse/utils/proxyDispatcher.ts:241
↓ 10 callers
Function
isTextBlock
(block: SystemBlock)
open-sse/services/ccBridgeTransforms.ts:336
↓ 10 callers
Method
isTransientAntigravityError
* Return true when a status + error message combination should be retried * with exponential backoff instead of immediately failing-over to the nex
open-sse/executors/antigravity.ts:1008
↓ 10 callers
Function
isUsableCombo
( combo: OmniRouteRawCombo, usable: { aliases: Set<string>; canonicals: Set<string>; knownAlia
@omniroute/opencode-plugin/src/index.ts:2222
↓ 10 callers
Function
items
(count: number)
tests/unit/stream-readiness-policy.test.ts:5
↓ 10 callers
Function
jsonError
(status: number, code: string, message: string)
src/app/api/internal/codex-responses-ws/route.ts:292
↓ 10 callers
Function
lenPrefixed
(field: number, payload: Buffer)
tests/unit/cursor-agent-system-prompt.test.ts:23
↓ 10 callers
Function
loadPolicy
(label)
tests/unit/api-key-policy.test.ts:67
↓ 10 callers
Function
log
(...parts)
scripts/i18n/translate-endpoint-tier-keys.mjs:63
↓ 10 callers
Function
logInfo
(...parts)
scripts/i18n/run-translation.mjs:137
↓ 10 callers
Function
logsText
( t: LogsTranslator, key: string, fallback: string, values?: Record<string, unknown> )
src/app/(dashboard)/dashboard/logs/page.tsx:18
↓ 10 callers
Function
looksLikeQuotaExhausted
(body: unknown)
src/shared/utils/classify429.ts:90
↓ 10 callers
Function
makeContainer
()
tests/unit/translator-friendly-pipeline-view.test.tsx:79
↓ 10 callers
Function
makeContainer
()
tests/unit/translator-friendly-simple-controls.test.tsx:146
↓ 10 callers
Function
makeContainer
()
tests/unit/translator-friendly-raw-json-panel.test.tsx:141
↓ 10 callers
Function
makeEntry
(overrides: Partial<{ id: string; host: string; detectedKind: "llm" | "app" | "unknown"; status: numbe
tests/integration/traffic-inspector-requests.test.ts:29
↓ 10 callers
Function
makeErrorLine
(customId: string, code = "rate_limit_exceeded")
tests/unit/lib/batches/retryFailed.test.ts:19
↓ 10 callers
Function
makeFile
(overrides: Partial<{ id: string; filename: string; bytes: number; purpose: string; createdAt: numbe
tests/unit/dashboard/batch/list-regression.test.tsx:102
↓ 10 callers
Function
makeJsonl
(lines: string[])
tests/unit/lib/batches/costEstimator.test.ts:24
↓ 10 callers
Function
makeKey
(name = "lifecycle-test", machineId = "machine-lifecycle")
tests/unit/api-key-lifecycle.test.ts:38
↓ 10 callers
Function
makeLine
( customId: string, url: string = ENDPOINT, method: string = "POST", body: unknown = { model: "gpt-4o"
tests/unit/lib/batches/validateJsonl.test.ts:10
↓ 10 callers
Function
makeLine
(line: string, stream: "stdout" | "stderr" = "stdout")
tests/unit/services/ringBuffer.test.ts:9
↓ 10 callers
Function
makeLog
()
tests/unit/base-executor-sanitize-effort.test.ts:6
↓ 10 callers
Function
makeLogLine
(line: string, stream: "stdout" | "stderr" = "stdout")
tests/unit/services/logs-sse.test.ts:16
↓ 10 callers
Function
makeProps
(overrides: Partial<{ source: FormatId; target: FormatId; provider: string; inputText: string; mode:
tests/unit/translator-friendly-simple-controls.test.tsx:153
↓ 10 callers
Function
makeReq
(overrides: Partial<InterceptedRequest> = {})
tests/unit/inspector-har-export.test.ts:6
↓ 10 callers
Function
makeRequest
(method: string, body?: unknown)
tests/unit/api/compression/compression-api.test.ts:125
↓ 10 callers
Function
makeTarget
(provider: string, model: string)
open-sse/services/__tests__/manifestAdapter.test.ts:10
↓ 10 callers
Function
maskKey
(raw)
bin/cli/commands/keys.mjs:22
↓ 10 callers
Function
mkBody
()
tests/unit/compression/bailout.test.ts:158
↓ 10 callers
Function
mockFetchCapture
(status = 200, responseBody?: ReadableStream | string)
tests/unit/web-cookie-providers-new.test.ts:57
↓ 10 callers
Function
modalityAllHave
(sets: Array<Set<string>>, key: string)
@omniroute/opencode-plugin/src/index.ts:961
↓ 10 callers
Function
mount
(ui: React.ReactElement)
tests/unit/ui/compressionCockpit.test.tsx:38
↓ 10 callers
Function
names
(result: ToolManifestEntry[] | Record<string, ToolManifestEntry>)
tests/unit/mcp/tool-cardinality.test.ts:47
↓ 10 callers
Function
navigateToInspector
(page: Page)
tests/e2e/traffic-inspector.spec.ts:21
↓ 10 callers
Function
noStackTrace
(msg: string, label: string)
tests/integration/traffic-inspector-error-sanitization.test.ts:54
↓ 10 callers
Function
normalizeMimoThinking
(body: T)
open-sse/services/mimoThinking.ts:38
↓ 10 callers
Function
normalizeSessionCookieHeader
(rawValue: string, defaultCookieName: string)
src/lib/providers/webCookieAuth.ts:9
↓ 10 callers
Function
openaiToOpenAIResponsesResponse
(chunk, state)
open-sse/translator/response/openai-responses.ts:47
↓ 10 callers
Function
parseEnvLine
* Simulate the .env parsing logic from bin/omniroute.mjs
tests/unit/cli-memory.test.ts:106
↓ 10 callers
Function
parseFlowOperationResult
(json: unknown)
open-sse/handlers/videoGeneration/googleFlow.ts:179
↓ 10 callers
Function
parseImageModel
(modelStr)
open-sse/config/imageRegistry.ts:577
↓ 10 callers
Function
parseImprovedContent
( raw: string, hadSystem: boolean, hadPrompt: boolean, )
src/lib/playground/promptImprover.ts:87
↓ 10 callers
Function
parseOpenapi
()
src/lib/agentSkills/openapiParser.ts:149
↓ 10 callers
Function
parsePositiveInt
(value: string | undefined, fallback: number)
src/lib/logEnv.ts:13
↓ 10 callers
Function
parseStoredPayload
(value: unknown)
src/lib/logPayloads.ts:103
↓ 10 callers
Function
pickTierField
(tier: unknown, field: "name" | "id")
open-sse/services/codeAssistSubscription.ts:12
↓ 10 callers
Function
postReq
(body: unknown)
tests/integration/playground-presets-crud.test.ts:48
↓ 10 callers
Function
prepareUpstreamBody
(opts: { translatedBody: Body; modelToCall: string; provider: string | null | undefined; targetFormat:
open-sse/handlers/chatCore/upstreamBody.ts:101
↓ 10 callers
Function
print_header
(msg: str)
scripts/i18n/validate_translation.py:71
↓ 10 callers
Function
print_success
(msg: str)
scripts/i18n/validate_translation.py:77
↓ 10 callers
Function
progressPcts
* Computes progress bar segment percentages (green = done, red = failed). * Mirrors the inline calculations in BatchListTab and BatchDetailModal.
tests/unit/batch-status-logic.test.mjs:37
↓ 10 callers
Function
providerSupportsModel
(providerKey: string, modelId: string)
src/app/api/v1/models/catalog.ts:202
↓ 10 callers
Function
readJsoncConfig
( path: string, fallback: T | null = null )
src/app/api/cli-tools/_lib/jsoncConfig.ts:39
↓ 10 callers
Function
readSrc
(path: string)
tests/unit/settings-ui-layout-static.test.ts:9
↓ 10 callers
Function
reconcilePoolExclusivity
( poolId: string, prevApiKeyIds: string[], nextApiKeyIds: string[], exclusive: boolean, )
src/lib/quota/quotaKey.ts:162
↓ 10 callers
Function
redactSecrets
(text: string)
src/shared/utils/logRedaction.ts:36
↓ 10 callers
Function
registerFallback
(model, chain)
src/domain/fallbackPolicy.ts:56
↓ 10 callers
Function
registerMonitorFetcher
(provider: string, fetcher: QuotaFetcher)
open-sse/services/quotaMonitor.ts:99
↓ 10 callers
Function
registerSuite
(suite: any)
src/lib/evals/evalRunner.ts:62
↓ 10 callers
Function
removeFeatureFlagOverride
(key: string)
src/lib/db/featureFlags.ts:71
↓ 10 callers
Function
removePath
(targetPath)
tests/unit/usage-migrations.test.ts:39
↓ 10 callers
Function
renameProcessTitle
(currentTitle: string)
src/instrumentation-node.ts:32
↓ 10 callers
Function
render
(props: Parameters<typeof BurnRateChart>[0])
tests/unit/ui/burn-rate-chart.test.tsx:23
↓ 10 callers
Function
renderCard
(props?: { defaultCollapsed?: boolean })
tests/unit/ui/search-tools-concept-card.test.tsx:23
↓ 10 callers
Function
renderClient
()
tests/unit/ui/search-tools-studio.test.tsx:124
↓ 10 callers
Function
renderScrapeTab
()
tests/unit/ui/search-tools-scrape-tab.test.tsx:64
↓ 10 callers
Function
renderStudio
()
tests/unit/ui/playground-studio.test.tsx:125
↓ 10 callers
Function
replaceSyncedAvailableModelsForConnection
( providerId: string, connectionId: string, models: SyncedAvailableModelInput[] )
src/lib/db/models.ts:450
↓ 10 callers
Function
reset
()
tests/unit/free-proxies-db.test.ts:13
↓ 10 callers
Function
resetCostData
()
src/domain/costRules.ts:623
↓ 10 callers
Method
resetPool
Reset (shutdown + recreate) a pool
open-sse/services/sessionPool/poolRegistry.ts:70
↓ 10 callers
Function
resetStorage
()
tests/unit/auth-terminal-status.test.ts:15
↓ 10 callers
Function
resolveClaudeCodeCompatibleEffort
( sourceBody?: Record<string, unknown> | null, normalizedBody?: Record<string, unknown> | null, model?:
open-sse/services/claudeCodeCompatible.ts:450
↓ 10 callers
Function
resolveComboQueueDepth
(config: Record<string, unknown> | null | undefined)
open-sse/services/comboConfig.ts:174
↓ 10 callers
Function
resolveFeatureFlag
(key: string)
src/shared/utils/featureFlags.ts:11
↓ 10 callers
Function
resolveFromMappings
* Simulate resolveComboForModel logic in-memory.
tests/unit/model-combo-mappings.test.ts:23
↓ 10 callers
Function
resolveImageAsDataUri
(imageUrl: string)
src/lib/guardrails/visionBridgeHelpers.ts:158
↓ 10 callers
Function
resolveProviderAlias
(aliasOrId: string | null | undefined)
open-sse/services/model.ts:148
↓ 10 callers
Function
resolveProviderApiKey
(model: string, explicitKey?: string)
src/lib/guardrails/visionBridgeHelpers.ts:37
↓ 10 callers
Function
resolveProxyForCredentials
(provider: string, credentials?: any)
src/sse/services/tokenRefresh.ts:35
↓ 10 callers
Function
resolveReasoningBufferedMaxTokens
( modelStr: string, currentMaxTokens: unknown, options: { enabled?: boolean } = {} )
open-sse/services/reasoningTokenBuffer.ts:15
↓ 10 callers
Function
resolveUseUpstream429BreakerHints
( providerId: string, userValue: boolean | undefined )
src/shared/utils/providerHints.ts:65
↓ 10 callers
Function
retrieve
(hash: string, n: number)
tests/unit/compression/ccr-retrieval-ramp.test.ts:20
← previous
next →
1,601–1,700 of 20,485, ranked by callers