fix: apply oxfmt formatting
This commit is contained in:
parent
907ff4ac8f
commit
191989a97d
@ -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 = {
|
||||
|
||||
@ -1222,9 +1222,9 @@ const MODEL_INPUT_PRICING: Record<string, number> = {
|
||||
"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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user