feat(ai-gateway): allow Custom LLM access by group - #5205
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryIncremental review of the help-text copy update in the group model access policy editor found no issues; group-based Custom LLM access remains consistently implemented across catalog and inference paths with fail-closed semantics and org-scoped membership checks. Files Reviewed (12 files)
Previous Review Summary (commit c9c18b6)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit c9c18b6)Status: No Issues Found | Recommendation: Merge Executive SummaryGroup-based Custom LLM access is implemented consistently across catalog and inference paths with fail-closed semantics, org-scoped membership checks, and backwards-compatible schema changes; reviewed with high confidence. Files Reviewed (12 files)
Reviewed by kimi-k3 · Input: 21.5K · Output: 4.9K · Cached: 231.5K Review guidance: REVIEW.md from base branch |
Summary
group_idsto Custom LLM definitionsorganization_idsand update admin/policy UI copyValidation
pnpm --filter @kilocode/db typecheckpnpm --filter @kilocode/db lintpnpm --filter web typecheckpnpm --filter web lintpnpm --filter web test --runInBand src/lib/ai-gateway/custom-llm/access.test.ts src/routers/admin/custom-llm-router.test.ts src/routers/organizations/organization-settings-router.test.tspnpm format:checkgit diff --check