Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icecubesaad/OpenLLM-Studio
/ functions
Functions
505 in github.com/Icecubesaad/OpenLLM-Studio
⨍
Functions
505
◇
Types & classes
137
↓ 1 callers
Function
deriveModelName
(repoId: string, filename: string)
src/components/HfModelFileList.tsx:64
↓ 1 callers
Function
detect
()
src/hooks/useHardwareInfo.ts:10
↓ 1 callers
Function
detectHardware
()
src/lib/tauri.ts:181
↓ 1 callers
Method
detect_disk_space
Detect available disk space
src-tauri/src/hardware.rs:77
↓ 1 callers
Method
detect_gpu
Detect GPU information based on platform
src-tauri/src/hardware.rs:52
↓ 1 callers
Method
detect_linux_disk_space
(&self)
src-tauri/src/hardware.rs:152
↓ 1 callers
Method
detect_linux_gpu
Linux GPU detection
src-tauri/src/hardware.rs:474
↓ 1 callers
Method
detect_linux_ram
Linux RAM detection
src-tauri/src/hardware.rs:545
↓ 1 callers
Method
detect_macos_disk_space
(&self)
src-tauri/src/hardware.rs:134
↓ 1 callers
Method
detect_macos_gpu
macOS GPU detection
src-tauri/src/hardware.rs:391
↓ 1 callers
Method
detect_macos_ram
macOS RAM detection
src-tauri/src/hardware.rs:451
↓ 1 callers
Method
detect_ram
Detect RAM based on platform
src-tauri/src/hardware.rs:61
↓ 1 callers
Method
detect_windows_disk_space
(&self)
src-tauri/src/hardware.rs:85
↓ 1 callers
Method
detect_windows_gpu
Windows GPU detection Detection order: 1. nvidia-smi (most accurate for NVIDIA) 2. Registry qwMemorySize (accurate VRAM for all vendors, no 4GB cap) 3
src-tauri/src/hardware.rs:178
↓ 1 callers
Method
detect_windows_ram
Windows RAM detection
src-tauri/src/hardware.rs:358
↓ 1 callers
Function
downloadModel
(repoId: string, filename: string, modelName: string)
src/hooks/useHfDownload.ts:9
↓ 1 callers
Method
download_binary
Download and extract a binary variant
src-tauri/src/llama_binaries.rs:264
↓ 1 callers
Function
ensureProgressiveLineBreaks
(content: string)
src/lib/markdown.ts:31
↓ 1 callers
Function
ensure_model_dir
(root: &Path, model_name: &str)
src-tauri/src/model_store.rs:31
↓ 1 callers
Method
ensure_model_loaded
( &self, model_name: &str, options: Option<&ChatOptions>, )
src-tauri/src/local_runtime.rs:67
↓ 1 callers
Function
estimateVramUsage
()
src/components/OptimizationSettingsSection.tsx:28
↓ 1 callers
Method
expected_size_bytes
Get the expected file size in bytes (for progress calculation)
src-tauri/src/llama_binaries.rs:78
↓ 1 callers
Function
extract_zip_blocking
Extract a zip file to the target directory (blocking operation)
src-tauri/src/llama_binaries.rs:158
↓ 1 callers
Function
fetchOpenRouterModels
()
src/pages/SettingsPage.tsx:80
↓ 1 callers
Method
find_verified_repo
( &self, hf: &HfClient, recommendation: &ModelRecommendation, available_memory
src-tauri/src/model_recommender.rs:488
↓ 1 callers
Function
generateDefaultTitle
(modelName: string)
src/lib/utils.ts:53
↓ 1 callers
Function
getBackendColor
(backend: string)
src/components/HardwareInfoSection.tsx:28
↓ 1 callers
Function
getBackendLabel
(backend: string)
src/components/HardwareInfoSection.tsx:11
↓ 1 callers
Function
getCompatibilityBadge
( estimatedRamGb: number, availableVramGb: number, availableRamGb: number )
src/lib/utils.ts:127
↓ 1 callers
Function
getConversations
(dbPath: string)
src/lib/tauri.ts:67
↓ 1 callers
Function
getDbPath
()
src/App.tsx:20
↓ 1 callers
Function
getDbPath
()
src/hooks/useOptimizationSettings.ts:15
↓ 1 callers
Function
getHfModelDetails
( repoId: string, hfToken?: string )
src/lib/tauri.ts:208
↓ 1 callers
Function
getLoadedModel
()
src/lib/tauri.ts:63
↓ 1 callers
Function
getMessages
( dbPath: string, conversationId: string )
src/lib/tauri.ts:83
↓ 1 callers
Function
getModelRecommendations
( ramGb: number, vramGb: number, useCase: string, apiKey?: string, provider?: string, model?: stri
src/lib/tauri.ts:280
↓ 1 callers
Function
getOptimizationSettings
( dbPath: string )
src/lib/tauri.ts:245
↓ 1 callers
Function
getQuantQualityLabel
(quantization: string | null | undefined)
src/components/ModelWizard.tsx:756
↓ 1 callers
Function
getRecommendedQuantization
(vramGb: number)
src/components/HfModelFileList.tsx:57
↓ 1 callers
Method
get_ai_recommendations
( &self, available_ram_gb: f64, available_vram_gb: f64, use_case: &UseCase,
src-tauri/src/model_recommender.rs:70
↓ 1 callers
Method
get_all_statuses
Get status of all binary variants available for current OS
src-tauri/src/llama_binaries.rs:363
↓ 1 callers
Function
get_conversations
(db_path: String)
src-tauri/src/commands.rs:182
↓ 1 callers
Function
get_license_info
( db_path: String, )
src-tauri/src/commands.rs:1128
↓ 1 callers
Method
get_loaded_model
Get the currently loaded model This method sends a GET request to /api/ps and returns information about the model currently loaded in Ollama's memory
src-tauri/src/ollama.rs:89
↓ 1 callers
Function
get_manifest
(root: &Path, model_name: &str)
src-tauri/src/model_store.rs:74
↓ 1 callers
Function
handleBackToSearch
()
src/components/HuggingFaceTab.tsx:115
↓ 1 callers
Function
handleDeleteConversation
(id: string)
src/pages/ChatPage.tsx:47
↓ 1 callers
Function
handleDownload
(variantKey: string)
src/components/RuntimeSection.tsx:78
↓ 1 callers
Function
handleSelectModel
(model: HfModel)
src/components/HuggingFaceTab.tsx:79
↓ 1 callers
Function
handleSend
()
src/components/ChatInput.tsx:34
↓ 1 callers
Function
handleUseInChat
(modelName: string)
src/components/MyLibrary.tsx:13
↓ 1 callers
Function
handleValidate
()
src/components/HfTokenSection.tsx:15
↓ 1 callers
Method
hash_key
Hash a license key using SHA-256 # Arguments `key` - The license key to hash # Returns `String` - Hex-encoded hash
src-tauri/src/license.rs:262
↓ 1 callers
Method
health_check
Check if Ollama is running and return version information This method sends a GET request to /api/version with a 5-second timeout. If Ollama is runni
src-tauri/src/ollama.rs:47
↓ 1 callers
Function
init_logging
(app_data_dir: &Path)
src-tauri/src/app_logging.rs:11
↓ 1 callers
Function
isMarkdownBlockLine
(line: string)
src/lib/markdown.ts:62
↓ 1 callers
Method
is_available_for_os
Check if this variant is available for the current OS
src-tauri/src/llama_binaries.rs:102
↓ 1 callers
Method
is_open_source_llm_repo
( &self, repo_id: &str, details: &crate::models::HfModelDetails, _use_case: &U
src-tauri/src/model_recommender.rs:578
↓ 1 callers
Function
is_pro_enabled
(db_path: String)
src-tauri/src/commands.rs:1106
↓ 1 callers
Method
is_pro_enabled
Check if Pro tier is enabled (valid license exists) # Arguments `conn` - SQLite database connection # Returns `bool` - True if a valid license exist
src-tauri/src/license.rs:186
↓ 1 callers
Method
linux_url
(&self, base_url: &str, arch: &str)
src-tauri/src/llama_binaries.rs:65
↓ 1 callers
Function
list_installed_models
(root: &Path)
src-tauri/src/model_store.rs:45
↓ 1 callers
Method
list_models
List all installed models This method sends a GET request to /api/tags and returns the list of installed models with their metadata (name, size, modi
src-tauri/src/ollama.rs:69
↓ 1 callers
Function
listenToChatToken
( callback: (token: ChatToken) => void )
src/lib/tauri.ts:172
↓ 1 callers
Function
listenToHfDownloadStatus
( callback: (status: HfDownloadStatus) => void )
src/lib/tauri.ts:272
↓ 1 callers
Function
listenToWizardStatus
( callback: (status: string) => void )
src/lib/tauri.ts:318
↓ 1 callers
Function
loadHardware
()
src/components/HardwareInfoDisplay.tsx:23
↓ 1 callers
Function
loadLicenseInfo
()
src/components/LicenseManager.tsx:23
↓ 1 callers
Function
loadSettings
()
src/hooks/useOptimizationSettings.ts:28
↓ 1 callers
Method
macos_url
(&self, base_url: &str, arch: &str)
src-tauri/src/llama_binaries.rs:56
↓ 1 callers
Function
models_root_for_app
(app_handle: &tauri::AppHandle)
src-tauri/src/model_store.rs:20
↓ 1 callers
Function
parse_windows_ram_output
(output: &str)
src-tauri/src/hardware.rs:628
↓ 1 callers
Function
pauseHfDownload
(modelName: string)
src/lib/tauri.ts:236
↓ 1 callers
Method
pause_download
(&self, model_name: &str)
src-tauri/src/download_manager.rs:130
↓ 1 callers
Function
perform_openrouter_request
(api_key: &str, payload: &serde_json::Value)
src-tauri/src/model_recommender.rs:726
↓ 1 callers
Function
pullModel
(modelName: string, preferredQuantization?: string)
src/lib/tauri.ts:93
↓ 1 callers
Method
pull_model
Pull (download) a model from Ollama with streaming progress updates This method sends a POST request to /api/pull and processes the streaming newline
src-tauri/src/ollama.rs:122
↓ 1 callers
Method
query_match_bonus
(&self, repo_text: &str, recommendation: &ModelRecommendation)
src-tauri/src/model_recommender.rs:641
↓ 1 callers
Function
recommend_binary
Recommended binary based on detected hardware and OS
src-tauri/src/llama_binaries.rs:117
↓ 1 callers
Method
recommend_models
( &self, available_ram_gb: f64, available_vram_gb: f64, use_case: UseCase,
src-tauri/src/model_recommender.rs:48
↓ 1 callers
Function
redirect_std_handles
(stdout_file: &File, stderr_file: &File)
src-tauri/src/app_logging.rs:41
↓ 1 callers
Method
repo_queries
(&self, recommendation: &ModelRecommendation)
src-tauri/src/model_recommender.rs:552
↓ 1 callers
Method
resolve_model_download
( &self, model_name: &str, preferred_quantization: Option<&str>, )
src-tauri/src/huggingface.rs:696
↓ 1 callers
Method
resolve_server_binary
(&self)
src-tauri/src/local_runtime.rs:314
↓ 1 callers
Function
run
()
src-tauri/src/lib.rs:51
↓ 1 callers
Function
sanitize_model_name
(model_name: &str)
src-tauri/src/model_store.rs:125
↓ 1 callers
Function
saveOptimizationSettings
( dbPath: string, settings: OptimizationSettings )
src/lib/tauri.ts:253
↓ 1 callers
Function
saveSettings
(settings: OptimizationSettings)
src/hooks/useOptimizationSettings.ts:46
↓ 1 callers
Function
searchHfModels
( query: string, page: number, hfToken?: string )
src/lib/tauri.ts:186
↓ 1 callers
Method
select_best_file
( &self, files: &[crate::models::HfModelFile], available_memory_gb: f64, )
src-tauri/src/model_recommender.rs:613
↓ 1 callers
Method
send_chat_message
Send a chat message and receive streaming response tokens This method sends a POST request to /api/chat with the model name and conversation history,
src-tauri/src/ollama.rs:264
↓ 1 callers
Method
send_chat_message_with_options
Send a chat message with optimization options and receive streaming response tokens This method sends a POST request to /api/chat with the model name
src-tauri/src/ollama.rs:290
↓ 1 callers
Function
setupListener
()
src/components/ModelWizard.tsx:143
↓ 1 callers
Function
setupListener
()
src/components/ChatInterface.tsx:58
↓ 1 callers
Function
setupListener
()
src/hooks/useChat.ts:30
↓ 1 callers
Function
setupListener
()
src/hooks/useModelDownload.ts:20
↓ 1 callers
Function
setupListeners
()
src/hooks/useHfDownload.ts:117
↓ 1 callers
Method
spawn_runtime_process
( &self, model_path: &Path, options: Option<&ChatOptions>, port: u16, )
src-tauri/src/local_runtime.rs:239
↓ 1 callers
Method
start_download
Start a new download
src-tauri/src/download_manager.rs:34
↓ 1 callers
Function
stopChatGeneration
()
src/lib/tauri.ts:141
← previous
next →
101–200 of 505, ranked by callers