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
↓ 228 callers
Method
to_string
(&self)
src-tauri/src/license.rs:16
↓ 23 callers
Method
collect
(&self)
src-tauri/src/metrics.rs:22
↓ 17 callers
Method
execute
(&self, _code: String)
src-tauri/src/sandbox.rs:8
↓ 15 callers
Function
formatBytes
(bytes: number, decimals: number = 2)
src/lib/utils.ts:7
↓ 12 callers
Method
execute_command
(&self, cmd: &str, args: &[&str])
src-tauri/src/hardware.rs:572
↓ 9 callers
Function
cn
(...classes: (string | boolean | undefined | null)[])
src/lib/utils.ts:68
↓ 9 callers
Function
create_conversation
Create a new conversation with UUID generation Generates a new UUID for the conversation ID and inserts the conversation into the database with the c
src-tauri/src/db.rs:50
↓ 9 callers
Function
setup_test_db
()
src-tauri/src/db.rs:210
↓ 8 callers
Method
get_active_downloads
Get list of active download names
src-tauri/src/download_manager.rs:145
↓ 7 callers
Function
save_message
Save a message with UUID generation and update conversation timestamp This function performs two operations in a transaction: 1. Inserts a new messag
src-tauri/src/db.rs:169
↓ 6 callers
Function
splitStreamingMarkdown
(content: string)
src/lib/markdown.ts:11
↓ 6 callers
Method
store_license
Store validated license in database # Arguments `conn` - SQLite database connection `key` - The license key string `info` - Validated license informa
src-tauri/src/license.rs:154
↓ 6 callers
Function
useHardwareInfo
()
src/hooks/useHardwareInfo.ts:5
↓ 5 callers
Method
get_license_info
Get current license information from database # Arguments `conn` - SQLite database connection # Returns `Result<Option<LicenseInfo>, AppError>` - Li
src-tauri/src/license.rs:200
↓ 5 callers
Function
refreshConversations
()
src/hooks/useConversations.ts:11
↓ 5 callers
Function
setup_test_db
()
src-tauri/src/license.rs:273
↓ 5 callers
Function
useModels
()
src/hooks/useModels.ts:5
↓ 4 callers
Method
cancel_download
Cancel a download
src-tauri/src/download_manager.rs:108
↓ 4 callers
Function
cleanup_test_db
(db_path: &str)
src-tauri/src/commands.rs:641
↓ 4 callers
Function
cleanup_test_license_db
(db_path: &str)
src-tauri/src/commands.rs:1345
↓ 4 callers
Method
from
(error: reqwest::Error)
src-tauri/src/error.rs:76
↓ 4 callers
Function
setup_test_db
()
src-tauri/src/commands.rs:605
↓ 4 callers
Function
setup_test_license_db
()
src-tauri/src/commands.rs:1318
↓ 3 callers
Method
binaries_dir
Get the directory where binaries are stored
src-tauri/src/llama_binaries.rs:212
↓ 3 callers
Function
calculate_progress
(current: u64, total: u64)
src-tauri/src/tests/mod.rs:102
↓ 3 callers
Function
classify_windows_gpu_backend
(name: &str, _vram_gb: f64)
src-tauri/src/hardware.rs:671
↓ 3 callers
Function
createConversation
( dbPath: string, modelName: string, title: string )
src/lib/tauri.ts:71
↓ 3 callers
Function
create_conversation
( db_path: String, model_name: String, title: String, )
src-tauri/src/commands.rs:226
↓ 3 callers
Method
detect
Detect all hardware information
src-tauri/src/hardware.rs:34
↓ 3 callers
Function
downloadHfModel
( repoId: string, filename: string, modelName: string, hfToken?: string )
src/lib/tauri.ts:218
↓ 3 callers
Function
extractVariantKey
Extract the variant key string regardless of how Rust serialized it
src/components/RuntimeSection.tsx:31
↓ 3 callers
Function
fetchRecommendations
()
src/components/ModelWizard.tsx:203
↓ 3 callers
Function
formatSpeed
(mbps: number)
src/lib/utils.ts:77
↓ 3 callers
Method
get_binary_path
Get the path to the main llama-server executable (subdirectory path)
src-tauri/src/llama_binaries.rs:241
↓ 3 callers
Function
get_messages
Get all messages for a conversation sorted by created_at ASC Returns messages in chronological order (oldest first). This function queries the messag
src-tauri/src/db.rs:127
↓ 3 callers
Method
get_model_files
Get list of files for a model repository
src-tauri/src/huggingface.rs:113
↓ 3 callers
Function
handleChange
(key: keyof OptimizationSettings, value: number | boolean)
src/components/OptimizationSettingsSection.tsx:24
↓ 3 callers
Function
is_integrated_gpu
Check if a GPU name corresponds to an integrated GPU (uses shared system RAM)
src-tauri/src/hardware.rs:637
↓ 3 callers
Method
parse_recommendations
( &self, content: &str, available_memory_gb: f64, use_case: &UseCase, )
src-tauri/src/model_recommender.rs:337
↓ 3 callers
Method
search_models
Search for GGUF models on HuggingFace
src-tauri/src/huggingface.rs:33
↓ 3 callers
Method
stop_runtime
(&self)
src-tauri/src/local_runtime.rs:212
↓ 3 callers
Method
validate_license
Validate a license key using Ed25519 cryptographic signature License key format: <license_data>:<signature_hex> License data format: <type>:<expirati
src-tauri/src/license.rs:79
↓ 3 callers
Method
verify_recommendations
( &self, recommendations: Vec<ModelRecommendation>, available_memory_gb: f64,
src-tauri/src/model_recommender.rs:430
↓ 2 callers
Method
deactivate_license
Deactivate the current license # Arguments `conn` - SQLite database connection # Returns `Result<(), AppError>` - Success or database error
src-tauri/src/license.rs:250
↓ 2 callers
Function
deleteModel
(modelName: string)
src/lib/tauri.ts:145
↓ 2 callers
Method
delete_model
Delete a model from Ollama This method sends a DELETE request to /api/delete with the model name. If the deletion succeeds, Ollama will remove the mo
src-tauri/src/ollama.rs:217
↓ 2 callers
Method
detect_cpu_cores
Detect CPU core count
src-tauri/src/hardware.rs:70
↓ 2 callers
Function
detect_hardware
()
src-tauri/src/commands.rs:756
↓ 2 callers
Method
download_model
Download a model file from HuggingFace
src-tauri/src/huggingface.rs:372
↓ 2 callers
Method
download_urls
(&self)
src-tauri/src/llama_binaries.rs:28
↓ 2 callers
Function
extractVariantKey
Extract the variant key string regardless of how Rust serialized it
src/components/BinaryDownloadPrompt.tsx:24
↓ 2 callers
Function
extractVariantKey
Extract the variant key string regardless of how Rust serialized it
src/hooks/useBinaryManager.ts:22
↓ 2 callers
Function
formatDate
(timestamp: number)
src/components/LicenseManager.tsx:73
↓ 2 callers
Function
formatETA
(seconds: number | null)
src/lib/utils.ts:86
↓ 2 callers
Function
formatFileSizeGb
(size: number)
src/components/ModelWizard.tsx:752
↓ 2 callers
Function
formatTimestamp
(timestamp: string)
src/lib/utils.ts:24
↓ 2 callers
Function
getHfModelFiles
( repoId: string, hfToken?: string )
src/lib/tauri.ts:198
↓ 2 callers
Function
getModelDisplayName
* Extracts a clean display name from a model filename. * "gemma-4-e2b-it-uncensored-gguf-q4-k-m" → "gemma-4-e2b-it-uncensored" * "llama3.2:1b" → "ll
src/components/ChatInput.tsx:132
↓ 2 callers
Function
get_conversations
Get all conversations sorted by updated_at DESC Returns conversations in reverse chronological order (most recently updated first). This function que
src-tauri/src/db.rs:16
↓ 2 callers
Function
get_messages
( db_path: String, conversation_id: String, )
src-tauri/src/commands.rs:290
↓ 2 callers
Method
get_model_details
(&self, repo_id: &str)
src-tauri/src/huggingface.rs:180
↓ 2 callers
Method
is_installed
Check if a binary variant is already installed
src-tauri/src/llama_binaries.rs:217
↓ 2 callers
Function
listModels
()
src/lib/tauri.ts:59
↓ 2 callers
Function
listenToDownloadProgress
( callback: (progress: DownloadProgress) => void )
src/lib/tauri.ts:164
↓ 2 callers
Function
listenToHfDownloadProgress
( callback: (progress: HfDownloadProgress) => void )
src/lib/tauri.ts:264
↓ 2 callers
Function
loadData
()
src/components/RuntimeSection.tsx:56
↓ 2 callers
Function
loadFiles
(repoId: string)
src/hooks/useHfModelFiles.ts:13
↓ 2 callers
Function
loadInitialData
()
src/components/BinaryDownloadPrompt.tsx:59
↓ 2 callers
Function
performSearch
(query: string, page: number, append: boolean = false)
src/hooks/useHfSearch.ts:16
↓ 2 callers
Function
pull_model_internal
Internal function to pull a model (used by pull_model_with_retry)
src-tauri/src/commands.rs:367
↓ 2 callers
Function
refreshLoadedModel
()
src/hooks/useLoadedModel.ts:9
↓ 2 callers
Function
refreshMessages
()
src/hooks/useMessages.ts:9
↓ 2 callers
Function
refreshModels
()
src/hooks/useModels.ts:10
↓ 2 callers
Function
save_message
( db_path: String, conversation_id: String, role: String, content: String, )
src-tauri/src/commands.rs:585
↓ 2 callers
Function
sendChatMessage
( dbPath: string, conversationId: string, modelName: string, messages: ChatMessage[], options?: Chat
src/lib/tauri.ts:125
↓ 2 callers
Method
stream_chat_completion
( &self, model_name: &str, messages: &[ChatMessage], options: Option<&ChatOpti
src-tauri/src/local_runtime.rs:101
↓ 2 callers
Function
useConversations
(dbPath: string)
src/hooks/useConversations.ts:6
↓ 2 callers
Function
useModelDelete
(onSuccess?: () => void)
src/hooks/useModelDelete.ts:4
↓ 2 callers
Function
useModelDownload
(onComplete?: () => void)
src/hooks/useModelDownload.ts:16
↓ 2 callers
Function
useOllamaHealth
()
src/hooks/useOllamaHealth.ts:5
↓ 1 callers
Function
calculateProgress
(completed: number, total: number)
src/lib/utils.ts:43
↓ 1 callers
Function
calculate_context_size
(ram_gb: f64)
src-tauri/src/tests/mod.rs:114
↓ 1 callers
Function
calculate_optimal_threads
(cpu_cores: usize, ram_gb: f64)
src-tauri/src/tests/mod.rs:109
↓ 1 callers
Method
call_claude
( &self, api_key: &str, prompt: &str, model: Option<String>, available
src-tauri/src/model_recommender.rs:208
↓ 1 callers
Method
call_openai
( &self, api_key: &str, prompt: &str, model: Option<String>, available
src-tauri/src/model_recommender.rs:268
↓ 1 callers
Method
call_openrouter
( &self, api_key: &str, prompt: &str, model: Option<String>, available
src-tauri/src/model_recommender.rs:123
↓ 1 callers
Function
cancelDownload
(modelName: string)
src/hooks/useHfDownload.ts:58
↓ 1 callers
Function
cancelHfDownload
(modelName: string)
src/lib/tauri.ts:232
↓ 1 callers
Function
checkBinaryStatus
()
src/App.tsx:38
↓ 1 callers
Function
checkHealth
()
src/hooks/useOllamaHealth.ts:9
↓ 1 callers
Function
checkOllamaHealth
()
src/lib/tauri.ts:55
↓ 1 callers
Function
checkProStatus
()
src/components/ProFeatureGate.tsx:18
↓ 1 callers
Method
cleanup_completed
Clean up completed downloads
src-tauri/src/download_manager.rs:151
↓ 1 callers
Function
closeOpenSyntax
(content: string)
src/lib/markdown.ts:72
↓ 1 callers
Function
deactivate_license
(db_path: String)
src-tauri/src/commands.rs:1154
↓ 1 callers
Function
delay
(ms: number)
src/components/ModelWizard.tsx:782
↓ 1 callers
Function
deleteConversation
( dbPath: string, conversationId: string )
src/lib/tauri.ts:111
↓ 1 callers
Function
delete_model
( runtime_manager: tauri::State<'_, crate::local_runtime::RuntimeManager>, model_name: String, )
src-tauri/src/commands.rs:557
↓ 1 callers
Function
deriveModelName
(repoId: string, filename: string)
src/components/HuggingFaceTab.tsx:383
↓ 1 callers
Function
deriveModelName
(repoId: string, filename: string)
src/components/ModelWizard.tsx:746
next →
1–100 of 505, ranked by callers