Skip to content

Commit

Permalink
fix: removed bad code
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyceGowdy committed Nov 1, 2024
1 parent 58bf07e commit 8ea80f6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/aux-records/AIController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -612,15 +612,6 @@ export class AIController {

if (allowedFeatures.ai.chat.allowedModels) {
const allowedModels = allowedFeatures.ai.chat.allowedModels;
if (
!allowedModels ||
allowedModels.length === 0 ||
allowedModels.includes(model)
) {
return {
success: true,
};
}
return {
success: false,
errorCode: 'not_authorized',
Expand Down

0 comments on commit 8ea80f6

Please sign in to comment.