Skip to content

Commit 44c6562

Browse files
niklubnik
and
nik
authored
feat: DIA-1577: OpenAI usage limits for Trial accounts (#39)
Co-authored-by: nik <[email protected]>
1 parent ca2ae72 commit 44c6562

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

fern/openapi/resources/prompts.yaml

+41
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ components:
752752
enum:
753753
- OpenAI
754754
- AzureOpenAI
755+
- Custom
755756
api_key:
756757
title: API Key
757758
type: string
@@ -792,6 +793,46 @@ components:
792793
type: string
793794
format: date-time
794795
readOnly: true
796+
is_internal:
797+
title: Is Internal
798+
description: Whether the model provider connection is internal, not visible to the user.
799+
type: boolean
800+
readOnly: true
801+
default: false
802+
budget_limit:
803+
title: Budget Limit
804+
description: Budget limit for the model provider connection (null if unlimited)
805+
type: number
806+
nullable: true
807+
default: null
808+
budget_last_reset_date:
809+
title: Budget Last Reset Date
810+
description: Date and time the budget was last reset
811+
type: string
812+
format: date-time
813+
nullable: true
814+
default: null
815+
budget_reset_period:
816+
title: Budget Reset Period
817+
description: Budget reset period for the model provider connection (null if not reset)
818+
type: string
819+
enum:
820+
- Monthly
821+
- Yearly
822+
- None
823+
default: None
824+
budget_total_spent:
825+
title: Budget Total Spent
826+
description: Tracked total budget spent for the given provider connection within the current budget period
827+
type: number
828+
nullable: true
829+
default: null
830+
budget_alert_threshold:
831+
title: Budget Alert Threshold
832+
description: Budget alert threshold for the given provider connection
833+
type: number
834+
nullable: true
835+
default: null
795836

796837
InferenceRunCostEstimate:
797838
type: object

0 commit comments

Comments
 (0)