The classifier settings page showed model and effort only, so the API-key or ACP runtime could be switched only through a raw API call. It now has a runtime select, and under ACP the provider's URL, model and prices. A PUT carries the provider only on the ACP runtime, so the stored record stays for a switch back. Closes #5249
26 lines
565 B
CSS
26 lines
565 B
CSS
/* The settings form: the fields wrap in a row, the provider fields on a row of
|
|
* their own under the ACP runtime, then the save action. */
|
|
.ui-classifier-settings {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1em;
|
|
margin-top: 1em;
|
|
}
|
|
.ui-classifier-settings-fields {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75em;
|
|
}
|
|
.ui-classifier-settings-fields > * {
|
|
flex: 1 1 14em;
|
|
}
|
|
.ui-classifier-settings-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.75em;
|
|
}
|
|
.ui-classifier-settings-note {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|