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
↓ 1 callers
Function
buildQuotaPreflightRateLimitedResult
( provider: string, blockedByPreflight: Array<{ id: string; quotaPercent?: number; resetAt?: s
src/sse/services/auth.ts:923
↓ 1 callers
Function
buildReasoningDelta
(message: JsonRecord)
open-sse/utils/jsonToSse.ts:52
↓ 1 callers
Function
buildRecommendations
(log: ExplainLog, targetStats: TargetStats)
src/lib/usage/routeExplain.ts:407
↓ 1 callers
Function
buildRekaHeaders
(apiKey: string, providerSpecificData: any = {})
src/lib/providers/validation/headers.ts:75
↓ 1 callers
Function
buildRelatedTarget
(log: ExplainLog, selectedId: string)
src/lib/usage/routeExplain.ts:239
↓ 1 callers
Function
buildRelayFunction
(relayAuth: string)
src/app/api/settings/proxy/vercel-deploy/route.ts:17
↓ 1 callers
Function
buildRelayWorker
(relayAuth: string)
src/app/api/settings/proxy/deno-deploy/route.ts:77
↓ 1 callers
Function
buildRepairPlan
()
src/mitm/manager.ts:226
↓ 1 callers
Function
buildReplayCandidates
( targets: ComboScoringInspectorTarget[], runtimeTarget: ComboScoringInspectorTarget | undefined )
src/lib/usage/routeExplain.ts:493
↓ 1 callers
Function
buildRequest
( config: SearchProviderConfig, params: SearchRequestParams )
open-sse/handlers/search.ts:611
↓ 1 callers
Function
buildRequestBody
(item: BatchRequestItem)
open-sse/services/batchProcessor.ts:519
↓ 1 callers
Function
buildRequestBody
(chatMessages: Message[])
src/app/(dashboard)/dashboard/playground/components/tabs/ChatTab.tsx:63
↓ 1 callers
Function
buildRequestBody
(msgs: Message[])
src/app/(dashboard)/dashboard/playground/components/tabs/BuildTab.tsx:63
↓ 1 callers
Method
buildRequestPayload
(model: string, body: unknown, stream: boolean)
open-sse/executors/nlpcloud.ts:308
↓ 1 callers
Function
buildRequestTurns
(body: unknown)
src/mitm/inspector/conversationNormalizer.ts:232
↓ 1 callers
Function
buildRequestWithSignal
(body, signal)
tests/unit/chat-cooldown-aware-retry.test.ts:27
↓ 1 callers
Function
buildResponseContent
(req: InterceptedRequest)
src/lib/inspector/harExport.ts:116
↓ 1 callers
Method
buildResponseFromCtx
* Build a non-streaming chat.completion JSON Response from a fully-driven * StreamCtx. The streaming path emits chunks live via finalizeSseStream
open-sse/executors/cursor.ts:1479
↓ 1 callers
Function
buildResponseTurns
(req: InterceptedRequest)
src/mitm/inspector/conversationNormalizer.ts:348
↓ 1 callers
Function
buildResponsesFunctionCallEvents
(toolCall: ToolCall)
open-sse/utils/stream.ts:277
↓ 1 callers
Function
buildResponsesNdjson
(text = "Brasilia")
tests/unit/codex-stream-false.test.ts:98
↓ 1 callers
Function
buildResponsesResponse
(text = "ok")
tests/unit/chatcore-translation-paths.test.ts:194
↓ 1 callers
Function
buildResponsesSummary
( events: StructuredSSEEvent[], fallbackModel?: string | null )
open-sse/utils/streamPayloadCollector.ts:252
↓ 1 callers
Function
buildRootReadmeLanguageBar
()
scripts/i18n/generate-multilang.mjs:761
↓ 1 callers
Function
buildRtkPointerFields
(rtkPointers: RtkPointer[])
open-sse/handlers/chatCore/compressionAnalyticsWrite.ts:33
↓ 1 callers
Function
buildRuntimeSettingsSnapshot
( settings: Record<string, unknown> )
src/lib/config/runtimeSettings.ts:229
↓ 1 callers
Function
buildSavings
( providerCosts: CostEntry[], modelCosts: CostEntry[], fallbackRatePct: number )
src/lib/a2a/skills/costAnalysis.ts:72
↓ 1 callers
Function
buildSchemaParamMap
* Build a map of tool name → set of parameter property keys from the requested tools array. * Used by the nameless-block fallback to do conservative
open-sse/translator/deepseekWebTools.ts:303
↓ 1 callers
Function
buildSearchApiRequest
( config: SearchProviderConfig, params: SearchRequestParams )
open-sse/handlers/search.ts:483
↓ 1 callers
Function
buildSearxngRequest
( config: SearchProviderConfig, params: SearchRequestParams )
open-sse/handlers/search.ts:559
↓ 1 callers
Function
buildSelectedResilience
(log: ExplainLog)
src/lib/usage/routeExplain.ts:622
↓ 1 callers
Function
buildSerperRequest
( config: SearchProviderConfig, params: SearchRequestParams )
open-sse/handlers/search.ts:290
↓ 1 callers
Function
buildServerFnHeaders
* Build standard TanStack Start headers matching live captured traffic. * The x-deployment-id header is optional but helps CDN routing.
open-sse/executors/t3-chat-web.ts:120
↓ 1 callers
Method
buildServiceUnavailableResponse
* Build a 503 service_not_running Response with the fallback hint header. * Message goes through buildErrorBody to satisfy hard rule #12 (no raw er
open-sse/executors/ninerouter.ts:74
↓ 1 callers
Function
buildShowPayload
(model: OpenAiCatalogModel, responseModelId?: string)
src/app/api/v1/vscode/raw/[token]/api/show/route.ts:130
↓ 1 callers
Function
buildShowPayload
(model: OpenAiCatalogModel, responseModelId?: string)
src/app/api/v1/vscode/[token]/api/show/route.ts:132
↓ 1 callers
Function
buildSidecarSpawn
(scriptUrl, env = process.env)
scripts/start-ws-server.mjs:40
↓ 1 callers
Function
buildSnapshot
* Build a realistic accessibility snapshot: a `list` with 40 `listitem` siblings, each carrying a * clickable child `link "..." [ref=eNN]`, with inte
tests/unit/compression/mcpAccessibility-anchors.test.ts:20
↓ 1 callers
Function
buildSourceUpdateScript
(latest: string, gitRemote = "origin")
src/lib/system/autoUpdate.ts:275
↓ 1 callers
Function
buildSpawnArgsFactory
( cfg: ServiceEntry, apiKey: string )
src/lib/services/bootstrap.ts:48
↓ 1 callers
Function
buildSseResponse
(content: string)
tests/unit/ui/playground-compare-tab.test.tsx:53
↓ 1 callers
Function
buildSseResponse
(content: string, model: string)
tests/e2e/playground-compare.spec.ts:5
↓ 1 callers
Method
buildStompConnect
()
open-sse/executors/chipotle.ts:242
↓ 1 callers
Method
buildStompSend
(destination: string, body: string)
open-sse/executors/chipotle.ts:250
↓ 1 callers
Function
buildStreamErrorChunks
( errorMsg: string, statusCode: number, clientResponseFormat?: string | null )
open-sse/utils/streamHandler.ts:379
↓ 1 callers
Function
buildStreamingResponse
( content: string, model: string, id: string, created: number )
open-sse/executors/gitlab.ts:119
↓ 1 callers
Function
buildStreamingResponse
( eventStream: ReadableStream<Uint8Array>, model: string, cid: string, created: number, isThinkingMo
open-sse/executors/grok-web.ts:1325
↓ 1 callers
Function
buildStreamingResponse
( eventStream: ReadableStream<Uint8Array>, model: string, cid: string, created: number, history: Arr
open-sse/executors/perplexity-web.ts:575
↓ 1 callers
Function
buildStreamingResponse
(text: string, model: string)
open-sse/executors/gemini-business.ts:314
↓ 1 callers
Function
buildStreamingResponse
( eventStream: ReadableStream<Uint8Array>, model: string, cid: string, created: number, resolver: Im
open-sse/executors/chatgpt-web.ts:1747
↓ 1 callers
Function
buildStreamingResponse
( deltas: string[], reasoningDeltas: string[], model: string, id: string, created: number )
open-sse/executors/muse-spark-web.ts:753
↓ 1 callers
Function
buildStyleInstructions
Build the combined instruction body (no marker, no trailing boundary). Pure / deterministic.
open-sse/services/compression/outputStyles/apply.ts:57
↓ 1 callers
Function
buildSuccessResult
( parsed: ParsedMetaAiResponse, stream: boolean, model: string, headers: Record<string, string>, tra
open-sse/executors/muse-spark-web.ts:1148
↓ 1 callers
Function
buildSyntheticClaudeEmptyResponseEvents
( lifecycle: ClaudeEmptyResponseLifecycle, model: string | null, options: { includeContentBlock?: bo
open-sse/utils/stream.ts:486
↓ 1 callers
Function
buildSyntheticNoAuthCredentials
(providerSpecificData: JsonRecord = {})
src/sse/services/auth.ts:792
↓ 1 callers
Function
buildTargetHealth
( comboName: string, targets: ResolvedComboTargetView[], since: string )
src/lib/usage/comboHealth.ts:420
↓ 1 callers
Function
buildTargetStats
(selected: ExplainLog, relatedLogs: ExplainLog[])
src/lib/usage/routeExplain.ts:260
↓ 1 callers
Function
buildTavilyRequest
( config: SearchProviderConfig, params: SearchRequestParams )
open-sse/handlers/search.ts:368
↓ 1 callers
Function
buildTestInput
(connection, apiKey)
bin/cli/commands/providers.mjs:122
↓ 1 callers
Function
buildTokenHeaders
(apiKey: string, providerSpecificData: any = {})
src/lib/providers/validation/headers.ts:112
↓ 1 callers
Function
buildToolCallId
( functionCall: GeminiFunctionCallPart["functionCall"], toolName: string, toolCallIndex: number )
open-sse/translator/response/gemini-to-openai.ts:232
↓ 1 callers
Function
buildToolModeResponse
( bufferedJson: Response, requestedTools: unknown, stream: boolean, meta: { cid: string; created: numb
open-sse/executors/chatgptWebTools.ts:106
↓ 1 callers
Function
buildTraeAuthorizeUrl
(callbackUrl: string, traceId: string)
src/shared/components/TraeAuthModal.tsx:31
↓ 1 callers
Function
buildTurnEndedPayload
()
tests/unit/cursor-streaming.test.ts:36
↓ 1 callers
Function
buildTypescriptSnippet
* Generate TypeScript (fetch) snippet for a given endpoint.
src/lib/playground/codeExport.ts:357
↓ 1 callers
Function
buildUnauthRequest
Build an unauthenticated request.
tests/integration/search-providers-catalog.test.ts:71
↓ 1 callers
Function
buildUpstreamResponse
(stream)
tests/unit/chatcore-sanitization.test.ts:33
↓ 1 callers
Function
buildUrl
(host: string, path: string)
src/lib/inspector/harExport.ts:100
↓ 1 callers
Method
buildUrl
()
open-sse/executors/commandCode.ts:663
↓ 1 callers
Method
buildUrl
()
open-sse/executors/windsurf.ts:452
↓ 1 callers
Method
buildUrl
( model: string, _stream: boolean, _urlIndex = 0, credentials: ProviderCredentials | null = nu
open-sse/executors/nlpcloud.ts:280
↓ 1 callers
Method
buildUrl
(model, stream, _urlIndex = 0, credentials = null)
open-sse/executors/bedrock.ts:607
↓ 1 callers
Method
buildUrl
(model: string, _stream: boolean, urlIndex = 0)
open-sse/executors/antigravity.ts:624
↓ 1 callers
Method
buildUrl
()
open-sse/executors/cursor.ts:737
↓ 1 callers
Method
buildUrl
(_model: string, _credentials: unknown)
open-sse/executors/lmarena.ts:182
↓ 1 callers
Function
buildUrlCountMap
Build a map of url → count across all compare results to find overlaps
src/app/(dashboard)/dashboard/search-tools/components/tabs/CompareTab.tsx:47
↓ 1 callers
Function
buildUsageLimitExceededMessage
( status: ApiKeyUsageLimitStatus, now = Date.now(), options: { showUsd?: boolean } = {} )
src/lib/usage/apiKeyUsageLimits.ts:504
↓ 1 callers
Function
buildUsageSkew
( comboName: string, comboModels: string[], since: string )
src/lib/usage/comboHealth.ts:239
↓ 1 callers
Function
buildUsageSourceSql
(aggregationEnabled: boolean)
src/lib/usage/usageStats.ts:60
↓ 1 callers
Function
buildUserIdJson
(opts: { deviceId: string; accountUUID: string; sessionId: string; })
open-sse/executors/claudeIdentity.ts:245
↓ 1 callers
Function
buildYouComRequest
( config: SearchProviderConfig, params: SearchRequestParams )
open-sse/handlers/search.ts:513
↓ 1 callers
Function
buildZombieSseResponse
()
tests/unit/chat-cooldown-aware-retry.test.ts:38
↓ 1 callers
Function
bulkUpsertModelIntelligence
(entries: Array<Omit<ModelIntelligenceEntry, "syncedAt">>)
src/lib/db/modelIntelligence.ts:161
↓ 1 callers
Method
bump
()
tests/unit/_fixtures/tsx-runtime-modern-syntax.ts:18
↓ 1 callers
Function
bumpIdleTimer
Reset the idle eviction timer; terminates the worker after the idle window.
open-sse/services/compression/engines/llmlingua/worker.ts:191
↓ 1 callers
Function
bypassGlobMatch
* Match a hostname against a simple glob pattern (only `*` wildcard). * Linear, ReDoS-safe — mirrors `globMatch` in src/mitm/passthrough.ts. * * @p
src/mitm/_internal/bypass.cjs:42
↓ 1 callers
Method
byteAt
(offset: number)
open-sse/executors/kiro.ts:94
↓ 1 callers
Function
cacheKey
(provider: string, model: string)
open-sse/services/tierResolver.ts:12
↓ 1 callers
Function
cacheKey
(entry: LlmlinguaModelEntry, modelPath?: string)
open-sse/services/compression/engines/llmlingua/onnxWorker.ts:60
↓ 1 callers
Function
cacheKey
(connectionId: string, provider: string, dim: DimensionSpec)
src/lib/quota/saturationSignals.ts:255
↓ 1 callers
Function
cacheKeyForTarget
(targetHostname: string, targetUrl: string)
open-sse/utils/proxyFallback.ts:78
↓ 1 callers
Function
cachedJwt
(clientJwt: string)
open-sse/executors/adapta-web.ts:43
↓ 1 callers
Function
calculateAverageLatency
* Calculate average latency for a model, considering only recent records.
src/lib/guardrails/visionBridgeRouter.ts:72
↓ 1 callers
Function
calculateConfidence
( breakdown: SpecificityBreakdown, input: import("./specificityTypes").RuleInput )
open-sse/services/specificityDetector.ts:46
↓ 1 callers
Function
calculateGini
(values: number[])
src/lib/usage/comboHealth.ts:100
↓ 1 callers
Method
calculateHash
(challenge: string, prefix: string, difficulty: number)
open-sse/lib/deepseek-pow.ts:51
↓ 1 callers
Function
calculateResetWindowAffinity
(quota: unknown, config: ResetWindowConfig)
open-sse/services/combo/quotaScoring.ts:304
↓ 1 callers
Function
calculateSpecificityMatch
( candidate: ProviderCandidate, hint: RoutingHint | undefined | null )
open-sse/services/autoCombo/scoring.ts:160
↓ 1 callers
Function
calculateSuccessRate
* Calculate success rate for a model.
src/lib/guardrails/visionBridgeRouter.ts:88
↓ 1 callers
Function
calculateTargetContextAffinity
( target: ResolvedComboTarget, sessionId: string | null | undefined )
open-sse/services/combo.ts:239
← previous
next →
10,201–10,300 of 20,485, ranked by callers