mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-27 10:20:54 +08:00
The cost ledger (#70) stores four prices per profile and the usage API turns them into cost_eur, but the UI never got the follow-up: the profile list did not return the prices and the dialog had no inputs for them. That also made prices fragile. SaveProfile always rewrites the price columns, and the dialog's save payload had no price fields, so editing a profile in the UI reset prices set through the API to zero. Return the prices in LLMProfileDTO, add the four inputs to the dialog and send them on save. A negative price is stored as unset.