Skip to content

Commit 83d88bd

Browse files
committed
Update history download options
1 parent 4d0efec commit 83d88bd

File tree

6 files changed

+376
-357
lines changed

6 files changed

+376
-357
lines changed

llmstack/base/flags.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_flags(self):
5555
'CAN_ADD_TWILIO_INTERGRATION': [
5656
Condition('can_add_twilio_integration', True),
5757
],
58-
'CAN_EXPORT_HISTORY' : [
58+
'CAN_EXPORT_HISTORY': [
5959
Condition('can_export_history', False),
6060
]
6161
}
@@ -198,22 +198,27 @@ def can_add_keys(value, request=None, **kwargs):
198198
def can_add_app_domain(value, request=None, **kwargs):
199199
return False
200200

201+
201202
@conditions.register('has_exceeded_monthly_processor_run_quota')
202203
def has_exceeded_monthly_processor_run_quota(value, request=None, **kwargs):
203204
return False
204205

206+
205207
@conditions.register('has_exceeded_storage_quota')
206208
def has_exceeded_storage_quota(value, request=None, **kwargs):
207209
return False
208210

211+
209212
@conditions.register('has_exceeded_app_create_quota')
210213
def has_exceeded_app_create_quota(value, request=None, **kwargs):
211214
return False
212215

216+
213217
@conditions.register('can_add_twilio_integration')
214218
def can_add_twilio_integration(value, request=None, **kwargs):
215219
return True
216220

221+
217222
@conditions.register('can_export_history')
218223
def can_export_history(value, request=None, **kwargs):
219-
return False
224+
return True

0 commit comments

Comments
 (0)