Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Roy3838/Observer
/ functions
Functions
2,280 in github.com/Roy3838/Observer
⨍
Functions
2,280
◇
Types & classes
483
↳
Endpoints
54
↓ 5 callers
Method
get_last_metrics
Get the last generation metrics
app/plugins/llm_engine/src/lib.rs:320
↓ 5 callers
Function
handleParamChange
(key: keyof InferenceParams, value: any)
app/src/components/InferenceParamsEditor.tsx:61
↓ 5 callers
Function
init_engine
Initialize the global LLM engine
app/plugins/llm_engine/src/lib.rs:719
↓ 5 callers
Method
load_model
Load a GGUF model from the given path. Loads a model from `model_path`. If `mmproj_path` is provided, the multimodal projector is loaded alongside it;
app/plugins/llm_engine/src/lib.rs:192
↓ 5 callers
Function
mod
(n: number, m: number)
app/src/components/AICreator/OptionWheel.tsx:89
↓ 5 callers
Function
monthly_key
Enterprise seats count against one shared org key; everyone else against their own. Both prefixes deliberately sit outside "quota:" - get_usa
api/quota_manager.py:236
↓ 5 callers
Method
openIterationDB
()
app/src/utils/IterationStore.ts:239
↓ 5 callers
Function
run
(label: string, fn: () => Promise<void>)
websites/partner_dashboard/src/EnterprisePanel.tsx:43
↓ 5 callers
Method
send_cors_headers
Send the appropriate CORS headers.
docker/observer-ollama/observer_ollama/cors.py:8
↓ 5 callers
Function
setMemory
(agentId: string, memory: any)
app/src/utils/handlers/utils.ts:81
↓ 5 callers
Method
setState
(updates: Partial<GemmaModelState>)
app/src/utils/localLlm/GemmaModelManager.ts:59
↓ 5 callers
Method
start
(getToken?: TokenProvider)
app/src/utils/commandSSE.ts:26
↓ 5 callers
Function
startAgentLoop
(agentId: string, getToken?: TokenProvider, skipWhitelistCheck = false)
app/src/utils/main_loop.ts:78
↓ 4 callers
Function
_bind_key
(code: str, channel: str)
api/remote.py:93
↓ 4 callers
Function
_get_subscription_from_metadata
Fast subscription check using JWT app_metadata (kept current by Stripe/Apple webhooks). Returns (has_subscription, subscription_id, provider
api/payments.py:432
↓ 4 callers
Function
_user_path
(user_id: str)
api/auth0_manager.py:106
↓ 4 callers
Function
agentHasSensor
(systemPrompt: string, sensorKey: string)
app/src/components/AgentCard/agentCapabilities.tsx:193
↓ 4 callers
Function
assert_content_allowed
Synchronous acceptable-use check on outbound message content, run before anything is handed to Twilio's client.messages.create / calls.create
api/messaging.py:70
↓ 4 callers
Function
clearFallback
()
app/src/utils/tutorialFlow.ts:47
↓ 4 callers
Method
downloadModel
* Download a GGUF model from a HuggingFace URL with progress reporting * @param url Full URL to the GGUF file (e.g., https://huggingface.co/user/re
app/src/utils/localLlm/NativeLlmManager.ts:391
↓ 4 callers
Method
fetchModels
* Fetch models from all sources (remote servers + refresh local cache)
app/src/utils/ModelManager.ts:261
↓ 4 callers
Function
fetchQuota
(token: string)
app/src/types/quota.ts:22
↓ 4 callers
Method
getDebugInfo
* Get comprehensive debug info including sampler params and metrics
app/src/utils/localLlm/NativeLlmManager.ts:798
↓ 4 callers
Method
getFilteredLogs
* Get logs filtered by criteria
app/src/utils/logging.ts:111
↓ 4 callers
Method
getInstance
(progress_callback?: (data: any) => void)
app/src/utils/whisper/whisper.worker.ts:56
↓ 4 callers
Function
getJupyterConfig
()
app/src/utils/handlers/JupyterConfig.ts:42
↓ 4 callers
Method
getLatestBase64Frame
* Get the latest base64 frame directly (for pre-processor). * Computes base64 lazily from raw bytes when needed.
app/src/utils/tauriStreamCapture.ts:463
↓ 4 callers
Method
getMmprojAssignments
()
app/src/utils/localLlm/NativeLlmManager.ts:91
↓ 4 callers
Method
getRuntimeSettings
()
app/src/utils/localLlm/GemmaModelManager.ts:315
↓ 4 callers
Function
get_audio_state
()
app/plugins/screen-capture/src/audio.rs:51
↓ 4 callers
Function
get_base_url
(client_url: str | None)
api/payments.py:181
↓ 4 callers
Method
get_sampler_params
Get the current sampler parameters
app/plugins/llm_engine/src/lib.rs:283
↓ 4 callers
Function
handleApiAction
(endpoint: 'create-checkout-session' | 'create-checkout-session-plus' | 'create-checkout-session-max' | 'creat
app/src/components/ObServerTab.tsx:48
↓ 4 callers
Function
handleApiAction
(endpoint: 'create-checkout-session' | 'create-checkout-session-plus' | 'create-checkout-session-max' | 'creat
app/src/components/UpgradeModal.tsx:117
↓ 4 callers
Method
isLocalModel
* Check if a server string represents a local model
app/src/utils/ModelManager.ts:707
↓ 4 callers
Method
is_loaded
Check if a model is loaded
app/plugins/llm_engine/src/lib.rs:273
↓ 4 callers
Method
listGgufFiles
* List all GGUF files in the models directory (async, updates cache). * Both model files and projector files are returned — no filtering.
app/src/utils/localLlm/NativeLlmManager.ts:173
↓ 4 callers
Function
loadMemories
()
app/src/components/MemoryStoreTab.tsx:46
↓ 4 callers
Method
loadModelWithSettings
* Load a model with explicit settings. Saves settings for future loads. * Use this when the user explicitly changes settings in the UI.
app/src/utils/localLlm/GemmaModelManager.ts:78
↓ 4 callers
Function
mod
(n: number, m: number)
websites/landing/src/wheel/OptionWheel.tsx:76
↓ 4 callers
Function
normalizeWhitelistCode
(text: string | null | undefined)
app/src/utils/whitelistCode.ts:62
↓ 4 callers
Function
readAll
()
app/src/mcp/conversationStore.ts:24
↓ 4 callers
Method
removeServer
* Remove an inference server address
app/src/utils/ModelManager.ts:341
↓ 4 callers
Method
save
Save tokens to file
cli/src/auth.rs:62
↓ 4 callers
Method
saveCustomServersToStorage
()
app/src/utils/ModelManager.ts:374
↓ 4 callers
Method
sendMessages
* Send messages to a model by name. Routes local models directly, remote models via fetchResponse.
app/src/utils/ModelManager.ts:731
↓ 4 callers
Method
setMmprojAssignment
(modelFilename: string, mmprojFilename: string | null)
app/src/utils/localLlm/NativeLlmManager.ts:100
↓ 4 callers
Method
set_sampler_params
Set the sampler parameters
app/plugins/llm_engine/src/lib.rs:288
↓ 4 callers
Method
set_use_gpu
Set whether to use GPU acceleration (Metal) Must be called before load_model to take effect
app/plugins/llm_engine/src/lib.rs:314
↓ 4 callers
Function
sget
Read a key from a Stripe object. stripe.StripeObject implements __getitem__ but not .get() — calling .get() on one raises AttributeError
api/orgs.py:100
↓ 4 callers
Function
stop_audio
()
app/plugins/screen-capture/src/audio.rs:397
↓ 4 callers
Method
stop_capture
(&self)
app/plugins/screen-capture/src/mobile.rs:56
↓ 4 callers
Method
subscribe
(type: AudioStreamType, callback: StateListener)
app/src/utils/whisper/TranscriptionStateManager.ts:128
↓ 4 callers
Method
teardownMasterStream
* Teardown a specific master stream
app/src/utils/tauriStreamCapture.ts:346
↓ 4 callers
Method
unload
Unload the current model and free memory
app/plugins/llm_engine/src/lib.rs:260
↓ 4 callers
Function
updateAgentImageMemory
(agentId: string, images: string[])
app/src/utils/agent_database.ts:352
↓ 4 callers
Function
uploadAgentToServer
(agentData: AgentUpload)
app/src/components/CommunityTab.tsx:720
↓ 4 callers
Function
useApplePayments
()
app/src/hooks/useApplePayments.ts:79
↓ 4 callers
Function
useFloatingAgents
()
app/src/components/Observer/FloatingAgentsContext.tsx:113
↓ 4 callers
Function
useSubscriberText
( agentId: string, streamType: AudioStreamType )
app/src/hooks/useTranscriptionState.ts:42
↓ 4 callers
Function
useWhitelistPolling
( initial: PhoneEntry[], getToken: () => Promise<string | undefined>, channel?: CheckChannel, enabled
app/src/components/whitelist/shared.ts:66
↓ 3 callers
Function
_assert_no_personal_subscription
A user paying for their own plan must cancel before taking a seat, or they'd be billed twice.
api/orgs.py:272
↓ 3 callers
Function
_list_personal_customers
Stripe customers for `email`, excluding enterprise org billing entities. An org's Stripe customer carries the billing contact's email so the
api/payments.py:74
↓ 3 callers
Function
_owner_key
(code: str)
api/remote.py:91
↓ 3 callers
Function
_require_org
Resolve the caller's org from their JWT. The org_id never comes from the request.
api/orgs.py:139
↓ 3 callers
Function
_require_owner
(code: str, user_id: str)
api/remote.py:189
↓ 3 callers
Function
_tier_flags
(is_pro, is_max) for an org tier.
api/orgs.py:134
↓ 3 callers
Function
_update
Read-modify-write the catalog under an ETag precondition. `mutator` gets the agents dict and mutates it in place; it is re-run against fresh
api/marketplace.py:81
↓ 3 callers
Function
abortError
()
app/src/mcp/useMCP.ts:77
↓ 3 callers
Method
acquireMasterStream
(type: MasterStreamType, captureImpl: typeof browserStreamCapture | typeof tauriStreamCapture)
app/src/utils/streamManager.ts:507
↓ 3 callers
Method
addServer
* Add an inference server address
app/src/utils/ModelManager.ts:332
↓ 3 callers
Function
adminFetch
( adminKey: string, path: string, init: RequestInit = {} )
websites/partner_dashboard/src/api.ts:18
↓ 3 callers
Method
captureFrame
* Capture a frame from a video stream. Returns base64 PNG or null. * * For Tauri screen capture: uses raw frame bytes from the channel directly.
app/src/utils/streamManager.ts:408
↓ 3 callers
Function
checkForSensitiveData
( code: string, agent: CompleteAgent, memory: string, uploadType: 'existing' | 'file' | 'edit'
app/src/components/CommunityTab.tsx:271
↓ 3 callers
Function
checkNumber
( number: string, token: string, channel?: CheckChannel, )
app/src/components/whitelist/shared.ts:36
↓ 3 callers
Method
chunkRecordingStarted
( type: AudioStreamType, chunkDurationMs: number )
app/src/utils/whisper/TranscriptionStateManager.ts:49
↓ 3 callers
Method
chunkTranscriptionEnded
( type: AudioStreamType, text: string, chunkId: number )
app/src/utils/whisper/TranscriptionStateManager.ts:83
↓ 3 callers
Function
clear_audio_channel
Clear the audio channel
app/plugins/screen-capture/src/android.rs:245
↓ 3 callers
Function
clear_frame_channel
Clear the video channel
app/plugins/screen-capture/src/android.rs:228
↓ 3 callers
Method
commitToSubscribers
(text: string)
app/src/utils/whisper/UnifiedTranscriptionService.ts:180
↓ 3 callers
Method
configure
(config: WhisperModelConfig)
app/src/utils/whisper/whisper.worker.ts:50
↓ 3 callers
Function
contactValid
(kind: UserInfoKind, value: string)
app/src/utils/contactInfo.ts:35
↓ 3 callers
Function
ensure_capture_running
Ensure the unified capture is running
app/plugins/screen-capture/src/macos.rs:332
↓ 3 callers
Function
fetchResponse
( serverAddress: string, messages: Array<{role: string, content: any}>, modelName: string, token?: str
app/src/utils/sendApi.ts:394
↓ 3 callers
Function
find_mmproj_for_model
Find an mmproj file for a given model file
app/plugins/llm_engine/src/lib.rs:763
↓ 3 callers
Function
finish_selection
Hide the selector window and complete the awaiting request with a selection.
app/desktop/src/lib.rs:287
↓ 3 callers
Function
formatBytes
(bytes: number, decimals = 2)
app/src/components/AvailableModels.tsx:70
↓ 3 callers
Method
getActiveService
* Get the active service for a stream type without acquiring it. * Returns undefined if no service is active.
app/src/utils/whisper/TranscriptionRouter.ts:136
↓ 3 callers
Method
getInstance
()
app/src/utils/localLlm/NativeLlmManager.ts:146
↓ 3 callers
Method
getOrCreateSubscriber
* Get or create a subscriber for an agent and stream type. * The subscriber accumulates transcripts independently for each agent.
app/src/utils/streamManager.ts:193
↓ 3 callers
Function
getRunningAgentIds
()
app/src/utils/main_loop.ts:460
↓ 3 callers
Method
getState
()
app/src/utils/localLlm/NativeLlmManager.ts:153
↓ 3 callers
Function
getSystemPrompt
()
app/src/utils/system_prompt.ts:4
↓ 3 callers
Method
getTranscript
()
app/src/utils/whisper/TranscriptionSubscriber.ts:63
↓ 3 callers
Function
get_capture_state
()
app/plugins/screen-capture/src/desktop.rs:53
↓ 3 callers
Method
get_models
Return the list of models supported by this handler.
api/api_handlers.py:54
↓ 3 callers
Function
get_tier_from_apple_product
Returns (is_pro, is_max, is_plus) for a given Apple product_id.
api/apple_payments.py:60
↓ 3 callers
Function
handleDownloadPreset
(preset: ModelPreset)
app/src/components/AvailableModels.tsx:405
↓ 3 callers
Function
has_active_subscription
Single source-of-truth check for active subscriptions across all providers. - Apple: queries Auth0 metadata by email (cache of client-verifi
api/payments.py:115
↓ 3 callers
Function
isAgentLoopRunning
(agentId: string)
app/src/utils/main_loop.ts:453
← previous
next →
101–200 of 2,280, ranked by callers