[CRITICAL] Frontend silently drops settings fields during model create/update — speculative decoding, cache types, multimodal paths lost #12
Labels
No labels
blocked:lint-failed
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:preflight
blocked:verify-failed
bug
feature-request
in-progress
lint-cleanup
ops-task
quickfix
security/high
security/medium
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/vllm_mm#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The frontend helper functions
vllmSettingsToApi()andllamaCppSettingsToApi()insrc/hooks/useModels.tsdo not convert many settings fields to the snake_case API format, causing them to be silently dropped when creating or updating models.Affected File
src/hooks/useModels.tsMissing in
vllmSettingsToApi():cpu_offload_gb/cpuOffloadGbdraft_hf_repo/draftHfRepodraft_quantization/draftQuantizationdraft_tensor_parallel_size/draftTensorParallelSizedraft_max_model_len/draftMaxModelLennum_speculative_tokens/numSpeculativeTokensattention_backend/attentionBackendkv_cache_dtype/kvCacheDtypeMissing in
llamaCppSettingsToApi():cpu_moe/cpuMoen_cpu_moe/nCpuMoefit_to_memory/fitToMemorydraft_gguf_file/draftGgufFilenum_speculative_tokens/numSpeculativeTokensflash_attn/flashAttncache_type_k/cacheTypeKcache_type_v/cacheTypeVmmproj_path/mmprojPathdraft_gguf_file/draftGgufFileImpact
Any model created or updated via the frontend UI will have these settings silently stripped. For example:
Expected Behavior
All settings fields should be included in the conversion to snake_case API format.
GSD RESEARCH phase failed: LLM provider timeout or error.
Retry on next pipeline tick.