Commit 5231c94
authored
fix(ai-gateway): bypass access check for direct BYOK (#2982)
Per apps/web/src/lib/ai-gateway/AGENTS.md, direct BYOK models must not be
passed through checkOrganizationModelRestrictions since enabling them
already requires explicit admin action.
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>1 parent ba5021f commit 5231c94
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments