fix(discovery): compose OpenRouter catalog metadata - #1047
Conversation
Signed-off-by: Seongho Bae <me@seonghobae.me>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughOpenRouter 모델 검색이 Models.dev 가격 메타데이터를 병합합니다. 검색 분기를 독립 조건문으로 변경했습니다. 오프라인 테스트는 무료 모델, ZDR 지원, 충돌하는 개인정보 정책의 fail-closed 결과를 검증합니다. ChangesOpenRouter 모델 검색
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to OpenRouter discovery now incorporates Models.dev pricing and modality metadata while retaining fail-closed privacy classification when endpoint policies conflict. The change is covered by regression testing and is ready to merge. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
변경 사항
검증
uv run pytest -q tests/test_model_discovery.py— 126 passeduvx ruff check --select F --ignore F821 contextual_orchestrator/model_discovery.py tests/test_model_discovery.py— passeduv run python -m compileall -q contextual_orchestrator/model_discovery.py tests/test_model_discovery.py— passedgit diff --check— passed전체 Ruff/format 검사는 main에 이미 존재하는 import·format·F821 부채로 실패하므로 변경 범위의 오류 검사만 수행했습니다.
Summary by CodeRabbit