@@ -31,11 +31,7 @@ const validateFeature = (feature?: Feature): string | null => {
31
31
return "Managed agent feature is enabled but missing required usage data (actual, soft_limit, or limit)." ;
32
32
}
33
33
34
- if (
35
- feature . actual < 0 ||
36
- feature . soft_limit < 0 ||
37
- feature . limit < 0
38
- ) {
34
+ if ( feature . actual < 0 || feature . soft_limit < 0 || feature . limit < 0 ) {
39
35
return "Managed agent feature contains invalid negative values for usage metrics." ;
40
36
}
41
37
@@ -76,14 +72,11 @@ export const ManagedAgentsConsumption: FC<ManagedAgentsConsumptionProps> = ({
76
72
< div className = "min-h-60 flex items-center justify-center rounded-lg border border-solid p-12" >
77
73
< Stack alignItems = "center" spacing = { 1 } >
78
74
< Stack alignItems = "center" spacing = { 0.5 } >
79
- < span className = "text-base" >
80
- Managed AI Agents Disabled
81
- </ span >
75
+ < span className = "text-base" > Managed AI Agents Disabled</ span >
82
76
< span className = "text-content-secondary text-center max-w-[464px] mt-2" >
83
77
Managed AI agents are not included in your current license.
84
- Contact{ " " }
85
- < MuiLink href = "mailto:sales@coder.com" > sales</ MuiLink > to upgrade
86
- your license and unlock this feature.
78
+ Contact < MuiLink href = "mailto:sales@coder.com" > sales</ MuiLink > to
79
+ upgrade your license and unlock this feature.
87
80
</ span >
88
81
</ Stack >
89
82
</ Stack >
@@ -171,7 +164,8 @@ export const ManagedAgentsConsumption: FC<ManagedAgentsConsumptionProps> = ({
171
164
>
172
165
< div className = "w-full border-b-1 border-t-1 border-dashed border-content-disabled" />
173
166
</ div >
174
- Total limit after which further AI workspace builds will be blocked.
167
+ Total limit after which further AI workspace builds will be
168
+ blocked.
175
169
</ li >
176
170
</ ul >
177
171
</ CollapsibleContent >
0 commit comments