fix(providers): raise Nous model discovery response cap - #3939
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe Nous provider’s live model discovery limit increases from 256 KiB to 1 MiB. A regression test verifies that a 390-row catalog exceeding 256 KiB succeeds under the provider-specific limit. ChangesNous discovery response limit
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to Nous model discovery now accepts valid catalogs up to 1 MiB, including the reported larger catalog, while retaining bounded response handling and the existing model-row limit. No current merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
|
✅ Deterministic PR hygiene checks passed. |
리뷰 · 우선순위 58 / 80이 PR은 Nous Portal( 고치는 방식은 최소입니다. 프로바이더 전용 한도만 테스트는 라인 registry.ts · nous.modelDiscovery.maxResponseBytes - 값 자체는 타당합니다. 관측 566 KiB를 넘기고 전역 4 MiB 아래입니다. 다만 카탈로그가 앞으로 1 MiB를 넘기면 또 같은 증상으로 돌아올 수 있으니, 장기적으로는 “관측 크기 + 여유”를 짧게 남겨 두는 편이 안전합니다(지금은 여유 충분). 라인 provider-model-discovery-contract.test.ts · 새 테스트 - 바이트 한도와 경로/심볼 · CI - hygiene / label / resolve-pr / CodeRabbit이 아직 pending입니다. 머지 전에 초록만 확인하면 됩니다. 코드 범위는 파일 2개·+24/−1로 리뷰 부담이 작습니다. 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
⏳ DRAFT
What to do
Review readiness checklist
0/4 boxes ticked. This PR stays in draft until every box above is ticked. Hygiene✅ Deterministic PR hygiene checks passed. |
|
Delivered through #3957 as commit 5cd71ec on dev. The original Nous cap change is preserved, with additional isolated regressions through catalog gathering/cache and the management connection probe. Vocllum is retained in the landed Co-authored-by trailer. Current candidate CI 34166962088 completed with 19 successful jobs and 2 explicit skips; both new 390-row regressions passed. Local product checks were NOT RUN per owner instruction. After merge, the landed tree matched Git's expected integration tree and the commit was verified in dev. Closing this source PR as carried, not claiming it was merged directly. The existing global and raw-row bounds remain. |
Summary
Raise the Nous provider's live model-discovery response cap from 256 KiB to 1 MiB.
Problem
Nous's authenticated
/v1/modelsendpoint currently returns a mixed paid/free catalog whose JSON is larger than the provider-specific262_144byte limit. A representative response was HTTP 200 with 390 model rows and 566,054 bytes, but OpenCodex rejected it with:This prevents live catalog reconciliation and leaves the configured Nous model roster stale or incomplete.
Fix
1_048_576bytes.maxModels: 512row limit.Verification
Expected: 1048576 / Received: 262144.git diff --checkpass.The upstream 429/524 responses observed for some free inference models are separate upstream availability/quota issues and are outside this catalog-discovery fix.
Fixes #3938
Summary by CodeRabbit
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
All CI tests are green on my local testing.
I pushed my PR to the latest dev commit.
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.