@@ -34,11 +34,11 @@ export const ManagedAgentsConsumption: FC<ManagedAgentsConsumptionProps> = ({
34
34
< Stack alignItems = "center" spacing = { 1 } >
35
35
< Stack alignItems = "center" spacing = { 0.5 } >
36
36
< span css = { styles . disabledTitle } >
37
- Managed AI Agent Feature Disabled
37
+ Managed AI Agents Disabled
38
38
</ span >
39
39
< span css = { styles . disabledDescription } >
40
- The managed AI agent feature is not included in your current
41
- license. Contact{ " " }
40
+ Managed AI agents are not included in your current license.
41
+ Contact{ " " }
42
42
< MuiLink href = "mailto:sales@coder.com" > sales</ MuiLink > to upgrade
43
43
your license and unlock this feature.
44
44
</ span >
@@ -70,7 +70,7 @@ export const ManagedAgentsConsumption: FC<ManagedAgentsConsumptionProps> = ({
70
70
` }
71
71
>
72
72
< ChevronRightIcon />
73
- How we calculate managed agent consumption
73
+ How we calculate managed agents consumption
74
74
</ Button >
75
75
</ CollapsibleTrigger >
76
76
</ header >
@@ -83,8 +83,8 @@ export const ManagedAgentsConsumption: FC<ManagedAgentsConsumptionProps> = ({
83
83
` }
84
84
>
85
85
< p >
86
- Managed agents are counted based on the amount of started
87
- workspaces with an AI agent.
86
+ Managed agents are counted based on the amount of successfully
87
+ started workspaces with an AI agent.
88
88
</ p >
89
89
< ul >
90
90
< li className = "flex items-center gap-2" >
@@ -108,7 +108,7 @@ export const ManagedAgentsConsumption: FC<ManagedAgentsConsumptionProps> = ({
108
108
>
109
109
< div className = "w-full border-b-1 border-t-1 border-dashed border-content-disabled" />
110
110
</ div >
111
- Total limit after which the feature will be disabled .
111
+ Total limit after which further AI workspace builds will be blocked .
112
112
</ li >
113
113
</ ul >
114
114
</ CollapsibleContent >
@@ -138,7 +138,7 @@ export const ManagedAgentsConsumption: FC<ManagedAgentsConsumptionProps> = ({
138
138
/>
139
139
</ div >
140
140
141
- < div className = "relative flex justify-between mt-4 text-sm" >
141
+ < div className = "relative hidden lg: flex justify-between mt-4 text-sm" >
142
142
< div className = "flex flex-col items-start" >
143
143
< span className = "text-content-secondary" > Actual:</ span >
144
144
< span className = "font-medium" > { usage . toLocaleString ( ) } </ span >
@@ -159,6 +159,23 @@ export const ManagedAgentsConsumption: FC<ManagedAgentsConsumptionProps> = ({
159
159
< span className = "font-medium" > { limit . toLocaleString ( ) } </ span >
160
160
</ div >
161
161
</ div >
162
+
163
+ < div className = "flex lg:hidden flex-col gap-3 mt-4 text-sm" >
164
+ < div className = "flex justify-between" >
165
+ < div className = "flex flex-col items-start" >
166
+ < span className = "text-content-secondary" > Actual:</ span >
167
+ < span className = "font-medium" > { usage . toLocaleString ( ) } </ span >
168
+ </ div >
169
+ < div className = "flex flex-col items-center" >
170
+ < span className = "text-content-secondary" > Included:</ span >
171
+ < span className = "font-medium" > { included . toLocaleString ( ) } </ span >
172
+ </ div >
173
+ < div className = "flex flex-col items-end" >
174
+ < span className = "text-content-secondary" > Limit:</ span >
175
+ < span className = "font-medium" > { limit . toLocaleString ( ) } </ span >
176
+ </ div >
177
+ </ div >
178
+ </ div >
162
179
</ div >
163
180
</ section >
164
181
) ;
0 commit comments