Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/cost/pricing-fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ export async function readPricingCache(cachePath = defaultPricingCachePath()): P
}
}

export function lookupModelReasoning(cache: PricingCache | null, modelId: string): boolean | undefined {
return cache?.reasoning?.[modelId];
}

export async function writePricingCache(cache: PricingCache, cachePath = defaultPricingCachePath()): Promise<void> {
try {
await mkdir(dirname(cachePath), { recursive: true });
Expand Down
8 changes: 0 additions & 8 deletions src/pricing-fetcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
fetchPricing,
loadPricing,
lookupModelPricing,
lookupModelReasoning,
readPricingCache,
writePricingCache,
startPricingRefresh,
Expand Down Expand Up @@ -49,13 +48,6 @@ describe("parseModelsDevReasoning", () => {
};
expect(parseModelsDevReasoning(payload)).toEqual({ "gpt-5.1": true, "gpt-4o": false });
});

test("lookupModelReasoning reads the cached flag, undefined when absent", () => {
const cache: PricingCache = { timestamp: 0, models: {}, reasoning: { "gpt-5.1": true } };
expect(lookupModelReasoning(cache, "gpt-5.1")).toBe(true);
expect(lookupModelReasoning(cache, "unknown")).toBeUndefined();
expect(lookupModelReasoning(null, "gpt-5.1")).toBeUndefined();
});
});

// ---------------------------------------------------------------------------
Expand Down
13 changes: 0 additions & 13 deletions src/tui/tool-args.test.ts

This file was deleted.

7 changes: 0 additions & 7 deletions src/tui/tool-args.ts

This file was deleted.

48 changes: 0 additions & 48 deletions src/util/glob.ts

This file was deleted.

28 changes: 0 additions & 28 deletions tests/unit/glob-brace.test.ts

This file was deleted.

Loading