Auto-reply: fix status command lint
This commit is contained in:
@@ -567,7 +567,6 @@ export async function handleCommands(params: {
|
||||
const reply = await buildStatusReply({
|
||||
cfg,
|
||||
command,
|
||||
provider: command.provider,
|
||||
sessionEntry,
|
||||
sessionKey,
|
||||
sessionScope,
|
||||
|
||||
@@ -65,7 +65,6 @@ describe("buildStatusMessage", () => {
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
} as ClawdbotConfig,
|
||||
agent: {
|
||||
model: "anthropic/pi:opus",
|
||||
@@ -249,7 +248,6 @@ describe("buildStatusMessage", () => {
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
} as ClawdbotConfig,
|
||||
agent: { model: "anthropic/claude-opus-4-5" },
|
||||
sessionEntry: { sessionId: "c1", updatedAt: 0, inputTokens: 10 },
|
||||
|
||||
@@ -20,12 +20,14 @@ import {
|
||||
type SessionEntry,
|
||||
type SessionScope,
|
||||
} from "../config/sessions.js";
|
||||
import { resolveCommitHash } from "../infra/git-commit.js";
|
||||
import {
|
||||
estimateUsageCost,
|
||||
formatTokenCount as formatTokenCountShared,
|
||||
formatUsd,
|
||||
resolveModelCostConfig,
|
||||
} from "../utils/usage-format.js";
|
||||
import { VERSION } from "../version.js";
|
||||
import { listChatCommands } from "./commands-registry.js";
|
||||
import type {
|
||||
ElevatedLevel,
|
||||
|
||||
Reference in New Issue
Block a user