Skip to content

Commit

Permalink
fix: correctly enforce plan limits when getting agents (#1819)
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanierh authored Sep 27, 2023
1 parent 36cf484 commit bd3ff8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/lib/api/assistant/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export async function getAgentConfiguration(
// Enforce plan limits: check if large models are allowed and act accordingly
if (
!owner.plan.limits.largeModels &&
!getSupportedModelConfig(model).largeModel
getSupportedModelConfig(model).largeModel
) {
return null;
}
Expand Down

0 comments on commit bd3ff8f

Please sign in to comment.