summaryrefslogtreecommitdiff
path: root/Omni/Agent/Log.hs
diff options
context:
space:
mode:
authorOmni Worker <bot@omni.agent>2025-11-22 06:25:58 -0500
committerOmni Worker <bot@omni.agent>2025-11-22 06:25:58 -0500
commit7860dd099ecba29249c4ba4d40f957f16a65a083 (patch)
tree1a7079bed672525b0e142eedafc8f8c86a47128c /Omni/Agent/Log.hs
parent6f4b2c97a24967508f3970b46999052fd1f44e67 (diff)
feat: implement t-rWcmRMaWX.2
Diffstat (limited to 'Omni/Agent/Log.hs')
-rw-r--r--Omni/Agent/Log.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Omni/Agent/Log.hs b/Omni/Agent/Log.hs
index afaf1da..93c70e1 100644
--- a/Omni/Agent/Log.hs
+++ b/Omni/Agent/Log.hs
@@ -11,6 +11,7 @@ import qualified Data.Text.IO as TIO
import qualified System.Console.ANSI as ANSI
import qualified System.IO as IO
import System.IO.Unsafe (unsafePerformIO)
+import Text.Printf (printf)
-- | Status of the agent for the UI
data Status = Status
@@ -91,7 +92,7 @@ render = do
<> " | Files: "
<> tshow statusFiles
<> " | Credits: $"
- <> tshow statusCredits
+ <> str (printf "%.2f" statusCredits :: String)
<> " | Time: "
<> statusTime