Skip to content

Agent Zero AI framework

Add summary subheader and fix mobile overflow

keyboardstaffe3e92c436a0b
diff --git a/plugins/_model_config/webui/models-summary.html b/plugins/_model_config/webui/models-summary.html
index f696c8b4a..ed051076f 100644
--- a/plugins/_model_config/webui/models-summary.html
+++ b/plugins/_model_config/webui/models-summary.html
@@ -37,6 +37,10 @@
loading = false;
"
class="model-summary">
+ <div class="model-summary-header">
+ <div class="field-title">Current Models</div>
+ <div class="field-description">Active model configuration resolved from global, project, and agent profile scopes.</div>
+ </div>
<div x-show="loading" style="text-align:center; padding:12px;">
<span class="material-symbols-outlined spinning" style="font-size:18px;">progress_activity</span>
</div>
@@ -64,6 +68,9 @@
.model-summary {
margin-top: 14px;
}
+ .model-summary-header {
+ margin-bottom: 8px;
+ }
.model-summary-grid {
display: flex;
flex-direction: column;
@@ -71,6 +78,9 @@
border: 1px solid var(--color-border);
border-radius: 8px;
padding: 0.75em 1em;
+ max-width: 100%;
+ overflow: hidden;
+ box-sizing: border-box;
}
.model-summary-row {
display: flex;
@@ -78,6 +88,7 @@
gap: 8px;
padding: 9px 14px;
font-size: 0.82rem;
+ min-width: 0;
}
.model-summary-row:not(:last-child) {
border-bottom: 1px solid var(--color-border);
@@ -100,6 +111,27 @@
text-overflow: ellipsis;
white-space: nowrap;
}
+ @media (max-width: 600px) {
+ .model-summary-grid {
+ padding: 0.5em 0.5em;
+ }
+ .model-summary-row {
+ flex-wrap: wrap;
+ padding: 8px 8px;
+ gap: 4px;
+ }
+ .model-summary-label {
+ width: auto;
+ }
+ .model-summary-value {
+ width: 100%;
+ flex-basis: 100%;
+ padding-left: 24px;
+ font-size: 0.78rem;
+ white-space: normal;
+ word-break: break-all;
+ }
+ }
</style>
</body>
</html>