fix: provider conflict guard and missing plan_delta handler - #22
ranvier2d2 wants to merge 2 commits into
Conversation
- ProviderCommandReactor: only enforce provider binding when there is an active session — a first turn with an explicit provider choice should be honoured, not rejected against the thread default - ProviderCommandReactor: prefer the requested provider over the thread default when no active session exists - ProviderCommandReactor test: mock startSession now respects the provider field from the caller instead of always using the harness default - CodexAdapter: add codex/event/plan_delta → turn.proposed.delta mapping (was present in codexEventMapping.ts but missing from the adapter's own event handler) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 5 minutes and 25 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
Superseded by PR #21 which included the same fixes and was merged first. |
Summary
codex/event/plan_delta→turn.proposed.deltamapping (was in codexEventMapping.ts but missing from the adapter)startSessionnow respects theproviderfield from the callerTest plan
ProviderCommandReactor.test.ts— 19/19 pass (was 18/19)CodexAdapter.test.ts— 18/18 pass (was 17/18)bun typecheck— 0 errorsbun lint— 0 errorsbun fmt— clean🤖 Generated with Claude Code