fix: show native Claude CLI usage as unpriced

This commit is contained in:
amosblomqvist
2026-10-28 19:58:07 +02:00
parent 5093809ea0
commit 17c94be327
11 changed files with 64 additions and 13 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
export const CLAUDE_CODE_PROVIDER = "claude-code";
export { CLAUDE_CODE_PROVIDER } from "../../core/contracts/claude-code.ts";
export const CLAUDE_CODE_API = "claude-code-cli";
+2 -2
View File
@@ -7,8 +7,8 @@ const SHARED_MODEL_FIELDS = {
provider: CLAUDE_CODE_PROVIDER,
baseUrl: "",
input: ["text", "image"],
// Placeholder rates, not a billing guarantee: the CLI's own auth/routing
// determines charges. Cost presentation remains a separate product decision.
// Pi-required placeholders, not prices: the CLI's own auth/routing
// determines charges. Server pricing and the client catalog report unpriced.
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
reasoning: true,
// The CLI has no thinking-off switch; effort low is the floor.