Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenAnonymity/oa-chat
/ functions
Functions
2,047 in github.com/OpenAnonymity/oa-chat
⨍
Functions
2,047
◇
Types & classes
86
↓ 2 callers
Method
getRateLimitDelay
* Check if currently rate limited. Returns remaining wait time in ms, or 0 if ok.
chat/services/accountService.js:470
↓ 2 callers
Method
getRenderSignature
(searchTerm)
chat/components/ModelPicker.js:209
↓ 2 callers
Function
getResolveImportedMemoryPreferences
()
test/domain/memorySettings.test.js:21
↓ 2 callers
Function
getResolveMemoryFeatureState
()
test/domain/memorySettings.test.js:11
↓ 2 callers
Method
getSelectionOffsetInNode
(container, range)
chat/components/ChatInput.js:1141
↓ 2 callers
Method
getSession
(sessionId)
chat/db.js:316
↓ 2 callers
Method
getSessionInfo
(sessionId)
chat/components/RightPanel.js:1617
↓ 2 callers
Method
getSessionResultsKey
()
chat/app.js:7272
↓ 2 callers
Method
getSessionsInDisplayOrder
* Gets sessions in their display order (flattened from grouped structure). * @returns {Array} Array of sessions in display order
chat/components/Sidebar.js:813
↓ 2 callers
Method
getSessionsPage
(limit = 80, cursor = null)
chat/db.js:338
↓ 2 callers
Method
getSharedAccessFromPayload
* Normalize shared access payload (supports legacy sharedApiKey). * @param {Object|null} payload - Decoded share payload * @returns {Object|
chat/app.js:2323
↓ 2 callers
Method
getSharedKeyCount
* Counts how many sessions share the current API key * @returns {number} Number of sessions with matching API key
chat/components/RightPanel.js:1643
↓ 2 callers
Method
getStartOfLocalDay
(date = new Date())
chat/app.js:7293
↓ 2 callers
Method
getStepToneClasses
(tone)
chat/components/VerifierAttestationModal.js:1476
↓ 2 callers
Method
getSubmitButtonConfig
(kind)
chat/components/ThanksPanel.js:153
↓ 2 callers
Method
getSyncTimestampKey
(key)
chat/services/preferencesStore.js:429
↓ 2 callers
Function
getSystemPrompt
(modelId)
chat/api.js:29
↓ 2 callers
Function
getSystemPrompt
()
experiments/local-webllm-demo.js:71
↓ 2 callers
Method
getTimerClasses
(isKeyShared = null)
chat/components/RightPanel.js:1385
↓ 2 callers
Method
handleAccountPasskeyUnlock
()
chat/components/AccountModal.js:321
↓ 2 callers
Method
handleAccountRecoveryUnlock
()
chat/components/AccountModal.js:327
↓ 2 callers
Method
handleCancelCreation
()
chat/components/AccountModal.js:305
↓ 2 callers
Method
handleCopyMessage
* Handles copying the content of a message. * Prioritizes Safari-safe raw DOM data when enabled, else DB-first. * @param {string} messageId
chat/components/ChatArea.js:1009
↓ 2 callers
Method
handleMemoryFeatureDisabled
()
chat/components/MemoryEditor.js:150
↓ 2 callers
Method
handlePasskeyRegistration
()
chat/components/AccountModal.js:222
↓ 2 callers
Method
handlePendingTicketCode
* Apply any pending ticket code after UI is ready.
chat/app.js:2097
↓ 2 callers
Method
handleRegister
(invitationCode)
chat/components/RightPanel.js:595
↓ 2 callers
Method
handleSplitConfirm
()
chat/components/RightPanel.js:831
↓ 2 callers
Method
handleSplitCountChange
(delta)
chat/components/RightPanel.js:794
↓ 2 callers
Method
handleSplitCountInput
(value)
chat/components/RightPanel.js:811
↓ 2 callers
Method
hasActiveSessionFilters
()
chat/app.js:7260
↓ 2 callers
Method
hasInitFailed
Whether initialization failed and this instance should be recreated.
chat/components/TurnstileBubble.js:146
↓ 2 callers
Method
hasRemoteChanges
* Quick check if server has newer data than local. * Returns true if we need to pull, false if up-to-date.
chat/services/syncService.js:269
↓ 2 callers
Method
hasScrubberContext
* Check whether this session contains any scrubber data that can be restored. * @param {Array} messages - Array of messages from the database
chat/app.js:5025
↓ 2 callers
Method
hexToBytes
(hex)
chat/components/VerifierAttestationModal.js:738
↓ 2 callers
Method
hide
()
chat/components/MessageNavigation.js:353
↓ 2 callers
Method
hideKeyTooltip
()
chat/components/RightPanel.js:1380
↓ 2 callers
Method
hideScrubberPreview
()
chat/components/ChatInput.js:664
↓ 2 callers
Method
importMemoryFile
(file)
chat/components/MemoryEditor.js:1067
↓ 2 callers
Function
importOmf
(doc, options = {})
chat/services/omfImporter.js:87
↓ 2 callers
Function
inferProvider
* Infers provider name from model name when models list is unavailable. * Uses the "Provider: Model" format, model ID format, or keyword matching as
chat/components/MessageTemplates.js:1382
↓ 2 callers
Method
init
* Initializes the application: loads data, sets up components, and renders initial state.
chat/app.js:1598
↓ 2 callers
Method
init
()
chat/services/scrubberService.js:270
↓ 2 callers
Method
init
()
chat/services/ticketStore.js:29
↓ 2 callers
Method
initialize
()
chat/services/privacyPass.js:57
↓ 2 callers
Method
initializeEditForm
* Initializes the edit form after it's rendered. * Sets up auto-grow and syncs the model picker button.
chat/components/ChatArea.js:2947
↓ 2 callers
Method
isCancelledError
(error, signal = null)
chat/app.js:4055
↓ 2 callers
Function
isDisplayName
(value)
chat/services/modelNames.js:26
↓ 2 callers
Method
isElectronEnvironment
()
chat/app.js:3108
↓ 2 callers
Method
isMessageInputFocused
()
chat/components/ChatInput.js:468
↓ 2 callers
Function
isPlaintextShare
(shareData)
chat/services/shareService.js:236
↓ 2 callers
Method
isQuickAskPinnedInstantModel
(model, modelName = '')
chat/app.js:6233
↓ 2 callers
Method
isStreamingCodeBlockNode
(node)
chat/components/ChatArea.js:919
↓ 2 callers
Function
isValidBackendId
(backendId)
chat/services/modelCatalogCache.js:15
↓ 2 callers
Function
isValidConfidence
(value)
chat/services/memoryRetrievalAssessment.js:44
↓ 2 callers
Function
loadAvailabilityCache
* Load cached availability data from localStorage.
chat/services/modelConfig.js:115
↓ 2 callers
Function
loadCache
* Load cached data from localStorage.
chat/services/modelTiers.js:58
↓ 2 callers
Method
loadInitialSessions
()
chat/app.js:7135
↓ 2 callers
Method
loadModels
()
chat/app.js:3208
↓ 2 callers
Function
loadNanomemBrowser
()
chat/services/omfImporter.js:41
↓ 2 callers
Method
loadSessionData
()
chat/components/RightPanel.js:183
↓ 2 callers
Function
loadVectorItems
(db, collection)
vector/idbStore.js:71
↓ 2 callers
Method
maskApiKey
(key)
chat/components/RightPanel.js:1310
↓ 2 callers
Method
maybeAutoUnlock
()
chat/services/accountService.js:1549
↓ 2 callers
Method
moveSelectionOutsideDeletedSpan
(deletedSpan)
chat/components/ChatInput.js:1153
↓ 2 callers
Method
navigateToNext
()
chat/components/MessageNavigation.js:299
↓ 2 callers
Method
navigateToPrevious
()
chat/components/MessageNavigation.js:293
↓ 2 callers
Function
normalizeAvailabilityPayload
* Normalize API/cache payload and apply overlap rule: * - duplicates removed (order preserved) * - if a model is both pinned and disabled, disabled
chat/services/modelConfig.js:88
↓ 2 callers
Function
normalizeBaseUrl
(baseUrl)
local_inference/backends/httpOpenAIBackend.js:3
↓ 2 callers
Function
normalizeChatGptConversation
(conversation, options = {})
chat/services/importers/chatgptImporter.js:381
↓ 2 callers
Function
normalizeEmbeddingResponse
(payload, options = {})
embeddings/utils.js:34
↓ 2 callers
Method
normalizeInviteCode
(value)
chat/components/ThanksPanel.js:136
↓ 2 callers
Function
normalizeMessageContent
(content)
local_inference/responseUtils.js:52
↓ 2 callers
Function
normalizeMessagesForMemory
(messages, { getMessageTextContent = defaultGetMessageTextContent, getScrubberMessageContent = null }
chat/services/memoryMessageNormalization.js:18
↓ 2 callers
Function
normalizeModelIdList
(value)
chat/services/modelConfig.js:62
↓ 2 callers
Function
normalizeRecoveryCode
(input)
chat/services/recoveryCode.js:49
↓ 2 callers
Method
normalizeSearchQueryText
(value)
chat/app.js:7573
↓ 2 callers
Function
normalizeSessionSearchText
(content)
chat/domain/sessionSearch.js:54
↓ 2 callers
Method
normalizeSettings
(rawSettings = {})
chat/services/networkProxy.js:99
↓ 2 callers
Function
normalizeString
(value)
chat/services/memoryRetrievalAssessment.js:53
↓ 2 callers
Function
normalizeStringEnum
(value, allowed, fallback)
chat/services/memoryRetrievalAssessment.js:48
↓ 2 callers
Function
normalizeStringList
(value)
chat/services/memoryRetrievalAssessment.js:57
↓ 2 callers
Method
normalizeTicketCode
(rawCode)
chat/app.js:2021
↓ 2 callers
Function
onPinnedModelsUpdate
(callback)
chat/services/modelConfig.js:187
↓ 2 callers
Method
open
* Opens the model picker modal and focuses the search input.
chat/components/ModelPicker.js:113
↓ 2 callers
Method
open
()
chat/components/WelcomePanel.js:87
↓ 2 callers
Method
open
()
chat/components/MemoryEditor.js:64
↓ 2 callers
Function
openVectorDatabase
(dbName)
vector/idbStore.js:22
↓ 2 callers
Function
parseStreamingReasoningContent
(rawReasoning)
chat/services/reasoningParser.js:147
↓ 2 callers
Method
peekTickets
(count = 1)
chat/services/ticketStore.js:404
↓ 2 callers
Function
persistVectorItems
(db, collection, items)
vector/idbStore.js:102
↓ 2 callers
Function
persistVerifierSubmitKeyProof
(session, verifyResult, options = {})
chat/application/accessController.js:40
↓ 2 callers
Function
pickElements
(source, keys)
chat/ui/appInterface.js:3
↓ 2 callers
Method
populateConfidentialModels
(selectEl, models, selected)
chat/components/ChatInput.js:1522
↓ 2 callers
Method
preCacheScrubberRestore
* Pre-cache scrubber restoration for an assistant message in the background. * Called after response completes to have the restored version ready
chat/app.js:9186
↓ 2 callers
Method
prepareItems
(items)
vector/memoryBackend.js:109
↓ 2 callers
Function
processPreviewContent
* Process content with markdown for preview (truncated, simplified) * Uses window.app.processContentWithLatex if available, falls back to marked or e
chat/components/ShareModals.js:30
↓ 2 callers
Function
randomVector
(dimension)
experiments/vector-bench.mjs:4
↓ 2 callers
Function
readCache
()
chat/services/modelCatalogCache.js:57
↓ 2 callers
Method
reanchorTurnstileBubble
Re-anchor an existing Turnstile bubble to the freshly-rendered input bar.
chat/components/WelcomePanel.js:877
← previous
next →
701–800 of 2,047, ranked by callers