Skip to content

Commit

Permalink
feat: Added support for AI Configs (#475)
Browse files Browse the repository at this point in the history
Added support for AI Configs
  • Loading branch information
ctawiah authored Jan 30, 2025
1 parent c294bf3 commit 30a99df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/dev_server/adapters/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func (a apiClientApi) getFlags(ctx context.Context, projectKey string, href *str
return internal.GetPaginatedItems(ctx, projectKey, href, func(ctx context.Context, projectKey string, limit, offset *int64) (flags *ldapi.FeatureFlags, err error) {
// loop until we do not get rate limited
query := a.apiClient.FeatureFlagsApi.GetFeatureFlags(ctx, projectKey).Limit(100)
query = query.Filter("purpose:all+!(holdout)")

if limit != nil {
query = query.Limit(*limit)
Expand Down

0 comments on commit 30a99df

Please sign in to comment.