janhq / jan

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer. Multiple engine support (llama.cpp, TensorRT-LLM)
https://jan.ai/
GNU Affero General Public License v3.0
23.74k stars 1.38k forks source link

bug: Model parameters display unrounded decimal values #4087

Open imtuyethan opened 4 days ago

imtuyethan commented 4 days ago

Jan version

0.5.8-734

Describe the Bug

Parameters imported from cortex.cpp showing raw decimal values (0.699, 0.949) instead of properly rounded numbers.

Screenshot 2024-11-22 at 12 01 26 AM

Steps to Reproduce

  1. Open model settings
  2. Check Temperature and Top P sliders
  3. Observe unrounded decimals in value display