This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Description
Cortex version
1.0.3
Describe the issue and expected behaviour
When making requests to /models, it returns unrounded model parameter float values that differ from the values defined in the model.yml file.
The fix for #1387 wasn’t covered in the cases.


Expected results
- It should return rounded values that are defined in the model.yaml file.
Check after the fix
- Float numbers should have decimal places (maximum 2) and not round to an integer.
- Integer numbers should not be converted to floats with decimal places.
Steps to Reproduce
- Pull a model
- Get /models
Screenshots / Logs


What is your OS?
What engine are you running?
Hardware Specs eg OS version, GPU
No response