feat(llm): delegate model calls to application SDK boundaries - #2879
Conversation
|
Important Review skippedToo many files! This PR contains 312 files, which is 212 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (312)
You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📊 Benchmark Results✅ All benchmarks passed
Updated: 2026-09-23T00:53:55.310Z · Commit: f729b55 |
e42d44a to
f729b55
Compare
Summary
@croco/ai-usage.Reviewer context
@croco/llm-core,@croco/llm-openai, and@croco/llm-metering; existingllm.*meter identifiers remain stable for stored-usage compatibility.UsageStoragepersistence while delivery recovery resumes the durable receipt without recording quota again.Validation
pnpm check— 27/28 passed, one not applicabletrunk@croco/metering-core— 335 tests passed; real Redis integration — 23 tests passed@croco/ai-usage— 84 tests passedcreate-croco-app— 194 tests passedIntegration
f729b554f32b9cb8031bc71c4b859213a6cf0938555d5fed217df88beb54972fee529d1548ad5e57; currenttrunk:555d5fed217df88beb54972fee529d1548ad5e57trunkand includes regenerated package catalog, Problem Registry, API documentation, public API, and test inventory artifacts.Visual evidence
MeteringRecordStatus—persistence-uncertainstate, 1280×720.IdempotencyManager—markMeteringPersistenceStarted, 1280×720.MeteringService—getRecordStatus, 1280×720.@croco/ai-usage— package API, 1280×720.@croco/ai-usage— recovery contracts, 1280×720.AI extension matrix — direct SDK ownership, 1280×720.
All affected pages were checked without console warnings or errors and without horizontal overflow. This is a documentation-only visual output change, so no interaction recording is required.
Closes #2832