SOU-69: offline LangChain/CrewAI/AgentKit examples#13
Conversation
Use llm_cost with correct rail/currency and fake clients so the demos run without framework installs or API keys.
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
Warning Review limit reached
Next review available in: 1 minute Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdded three standalone, offline examples for Burnwatch observability. The LangChain-style callback estimates and records LLM spend. The CrewAI-like example records LLM costs and paid-search fees. The AgentKit-style example records successful x402 payment metadata, including transaction hashes. Each example includes a disabled demo entrypoint with simulated inputs. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 9924141a-fb98-4c53-9f48-5743f1625da3
⛔ Files ignored due to path filters (1)
README.mdis excluded by!**/*.md
📒 Files selected for processing (3)
examples/agentkit_payment.pyexamples/crewai_tools.pyexamples/langchain_callback.py
Skip LLM record when model_name is missing, and store only query length for tool spend.
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
llm_cost(), correctrail/currency(USD for LLM, x402/USDC for AgentKit), no framework depsLeaves community PR #8 open with review notes — that PR needs live API keys and still has pricing/rail issues in the CrewAI file.
Closes Linear SOU-69
Related: #3
Test plan
python examples/langchain_callback.py/crewai_tools.py/agentkit_payment.pyrun offlinepytest -q— 26 passed