@@ -178,8 +178,11 @@ export default function AdminLlmModelNewRoute() {
178178
179179 < div className = "space-y-4" >
180180 < div className = "space-y-2" >
181- < label className = "text-xs font-medium text-text-dimmed" > Model Name</ label >
181+ < label htmlFor = "modelName" className = "text-xs font-medium text-text-dimmed" >
182+ Model Name
183+ </ label >
182184 < Input
185+ id = "modelName"
183186 name = "modelName"
184187 value = { modelName }
185188 onChange = { ( e ) => setModelName ( e . target . value ) }
@@ -191,7 +194,7 @@ export default function AdminLlmModelNewRoute() {
191194
192195 < div className = "space-y-2" >
193196 < div className = "flex items-center justify-between" >
194- < label className = "text-xs font-medium text-text-dimmed" >
197+ < label htmlFor = "matchPattern" className = "text-xs font-medium text-text-dimmed" >
195198 Match Pattern (regex)
196199 </ label >
197200 < button
@@ -203,6 +206,7 @@ export default function AdminLlmModelNewRoute() {
203206 </ button >
204207 </ div >
205208 < Input
209+ id = "matchPattern"
206210 name = "matchPattern"
207211 value = { matchPattern }
208212 onChange = { ( e ) => setMatchPattern ( e . target . value ) }
@@ -214,9 +218,12 @@ export default function AdminLlmModelNewRoute() {
214218 </ div >
215219
216220 < div className = "space-y-2" >
217- < label className = "text-xs font-medium text-text-dimmed" > Test pattern match</ label >
221+ < label htmlFor = "testPattern" className = "text-xs font-medium text-text-dimmed" >
222+ Test pattern match
223+ </ label >
218224 < div className = "flex items-center gap-2" >
219225 < Input
226+ id = "testPattern"
220227 value = { testInput }
221228 onChange = { ( e ) => setTestInput ( e . target . value ) }
222229 placeholder = "Type a model name to test..."
@@ -237,12 +244,15 @@ export default function AdminLlmModelNewRoute() {
237244
238245 { /* Catalog metadata */ }
239246 < div className = "space-y-2 border-t border-grid-dimmed pt-4" >
240- < label className = "text-sm font-medium text-text-bright" > Catalog Metadata</ label >
247+ < h3 className = "text-sm font-medium text-text-bright" > Catalog Metadata</ h3 >
241248
242249 < div className = "grid grid-cols-2 gap-3" >
243250 < div className = "space-y-1" >
244- < label className = "text-xs font-medium text-text-dimmed" > Provider</ label >
251+ < label htmlFor = "provider" className = "text-xs font-medium text-text-dimmed" >
252+ Provider
253+ </ label >
245254 < Input
255+ id = "provider"
246256 name = "provider"
247257 value = { provider }
248258 onChange = { ( e ) => setProvider ( e . target . value ) }
@@ -252,8 +262,11 @@ export default function AdminLlmModelNewRoute() {
252262 />
253263 </ div >
254264 < div className = "space-y-1" >
255- < label className = "text-xs font-medium text-text-dimmed" > Context Window</ label >
265+ < label htmlFor = "contextWindow" className = "text-xs font-medium text-text-dimmed" >
266+ Context Window
267+ </ label >
256268 < Input
269+ id = "contextWindow"
257270 name = "contextWindow"
258271 value = { contextWindow }
259272 onChange = { ( e ) => setContextWindow ( e . target . value ) }
@@ -265,8 +278,11 @@ export default function AdminLlmModelNewRoute() {
265278 </ div >
266279
267280 < div className = "space-y-1" >
268- < label className = "text-xs font-medium text-text-dimmed" > Description</ label >
281+ < label htmlFor = "description" className = "text-xs font-medium text-text-dimmed" >
282+ Description
283+ </ label >
269284 < Input
285+ id = "description"
270286 name = "description"
271287 value = { description }
272288 onChange = { ( e ) => setDescription ( e . target . value ) }
@@ -278,8 +294,11 @@ export default function AdminLlmModelNewRoute() {
278294
279295 < div className = "grid grid-cols-2 gap-3" >
280296 < div className = "space-y-1" >
281- < label className = "text-xs font-medium text-text-dimmed" > Max Output Tokens</ label >
297+ < label htmlFor = "maxOutputTokens" className = "text-xs font-medium text-text-dimmed" >
298+ Max Output Tokens
299+ </ label >
282300 < Input
301+ id = "maxOutputTokens"
283302 name = "maxOutputTokens"
284303 value = { maxOutputTokens }
285304 onChange = { ( e ) => setMaxOutputTokens ( e . target . value ) }
@@ -289,10 +308,11 @@ export default function AdminLlmModelNewRoute() {
289308 />
290309 </ div >
291310 < div className = "space-y-1" >
292- < label className = "text-xs font-medium text-text-dimmed" >
311+ < label htmlFor = "capabilities" className = "text-xs font-medium text-text-dimmed" >
293312 Features (comma-separated)
294313 </ label >
295314 < Input
315+ id = "capabilities"
296316 name = "capabilities"
297317 value = { capabilities }
298318 onChange = { ( e ) => setCapabilities ( e . target . value ) }
@@ -304,8 +324,11 @@ export default function AdminLlmModelNewRoute() {
304324 </ div >
305325
306326 < div className = "space-y-1" >
307- < label className = "text-xs font-medium text-text-dimmed" > Pricing Unit</ label >
327+ < label htmlFor = "pricingUnit" className = "text-xs font-medium text-text-dimmed" >
328+ Pricing Unit
329+ </ label >
308330 < select
331+ id = "pricingUnit"
309332 name = "pricingUnit"
310333 value = { pricingUnit }
311334 onChange = { ( e ) => setPricingUnit ( e . target . value ) }
@@ -334,7 +357,7 @@ export default function AdminLlmModelNewRoute() {
334357 { /* Pricing tiers */ }
335358 < div className = "space-y-3" >
336359 < div className = "flex items-center justify-between" >
337- < label className = "text-sm font-medium text-text-bright" > Pricing Tiers</ label >
360+ < h3 className = "text-sm font-medium text-text-bright" > Pricing Tiers</ h3 >
338361 < Button
339362 type = "button"
340363 variant = "tertiary/small"
0 commit comments