From 191989a97dfc105010cd07ec09c932c797039577 Mon Sep 17 00:00:00 2001 From: amabito Date: Wed, 18 Mar 2026 23:26:37 +0900 Subject: [PATCH] fix: apply oxfmt formatting --- src/infra/heartbeat-runner.cost-cap.test.ts | 5 +---- src/infra/heartbeat-runner.ts | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/infra/heartbeat-runner.cost-cap.test.ts b/src/infra/heartbeat-runner.cost-cap.test.ts index 2478660a7b8..3c8e2c6d650 100644 --- a/src/infra/heartbeat-runner.cost-cap.test.ts +++ b/src/infra/heartbeat-runner.cost-cap.test.ts @@ -119,10 +119,7 @@ afterEach(() => { }); describe("runHeartbeatOnce – maxCostPerRun", () => { - async function runWithCostCap(params: { - maxCostPerRun?: number; - model?: string; - }) { + async function runWithCostCap(params: { maxCostPerRun?: number; model?: string }) { return withTempHeartbeatSandbox( async ({ tmpDir, storePath, replySpy }) => { const cfg: OpenClawConfig = { diff --git a/src/infra/heartbeat-runner.ts b/src/infra/heartbeat-runner.ts index 0a28c923502..b1c09ae4e4d 100644 --- a/src/infra/heartbeat-runner.ts +++ b/src/infra/heartbeat-runner.ts @@ -1222,9 +1222,9 @@ const MODEL_INPUT_PRICING: Record = { "gpt-4": 30 / 1_000_000, "gpt-3.5": 0.5 / 1_000_000, "o1-mini": 3 / 1_000_000, - "o1": 15 / 1_000_000, + o1: 15 / 1_000_000, "o3-mini": 1.1 / 1_000_000, - "o3": 10 / 1_000_000, + o3: 10 / 1_000_000, // Google "gemini-1.5-pro": 3.5 / 1_000_000, "gemini-2.0-flash": 0.1 / 1_000_000,