feat: add task lifecycle management and improve generation reliability
Centralize timeout policies, stall detection, and error classification for image/video/text generation tasks. Improve ecommerce OSS upload flow and add script evaluation enhancements. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -3234,6 +3234,141 @@
|
||||
color: var(--report-green);
|
||||
}
|
||||
|
||||
.script-eval-report__detail-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
margin: 0 18px 18px;
|
||||
}
|
||||
|
||||
.script-eval-report__detail-card {
|
||||
min-width: 0;
|
||||
border: 1px solid rgb(255 255 255 / 6%);
|
||||
border-radius: var(--v5-radius-md);
|
||||
background: linear-gradient(180deg, rgb(255 255 255 / 3.4%), transparent), var(--report-row);
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.script-eval-report__detail-head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.script-eval-report__detail-head div {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.script-eval-report__detail-head span {
|
||||
color: #dfe8e4;
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.script-eval-report__detail-head strong {
|
||||
color: var(--report-green);
|
||||
font-size: 22px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.script-eval-report__detail-head small {
|
||||
color: #7e8a86;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.script-eval-report__detail-head em {
|
||||
flex-shrink: 0;
|
||||
border: 1px solid rgb(0 255 136 / 18%);
|
||||
border-radius: 999px;
|
||||
background: rgb(0 255 136 / 7%);
|
||||
color: #98e8bd;
|
||||
padding: 4px 8px;
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.script-eval-report__detail-hint,
|
||||
.script-eval-report__detail-empty {
|
||||
margin: 10px 0 0;
|
||||
color: #7f8c88;
|
||||
font-size: 12px;
|
||||
font-weight: 650;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.script-eval-report__subscore-list {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
margin-top: 13px;
|
||||
}
|
||||
|
||||
.script-eval-report__subscore-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(62px, 86px) minmax(0, 1fr) 34px;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: #bdcbc6;
|
||||
font-size: 12px;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.script-eval-report__subscore-row span {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.script-eval-report__subscore-row b {
|
||||
color: #dfe8e4;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.script-eval-report__subscore-bar {
|
||||
height: 7px;
|
||||
overflow: hidden;
|
||||
border-radius: 999px;
|
||||
background: rgb(255 255 255 / 5%);
|
||||
}
|
||||
|
||||
.script-eval-report__subscore-bar i {
|
||||
display: block;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(90deg, #18de8a, #a3f7c1);
|
||||
}
|
||||
|
||||
.script-eval-report__evidence-list {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
margin: 13px 0 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.script-eval-report__evidence-list li {
|
||||
position: relative;
|
||||
padding-left: 13px;
|
||||
color: #aebcb7;
|
||||
font-size: 12px;
|
||||
font-weight: 650;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.script-eval-report__evidence-list li::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0.62em;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 50%;
|
||||
background: var(--report-green);
|
||||
}
|
||||
|
||||
.script-eval-report__findings {
|
||||
gap: 18px;
|
||||
}
|
||||
@@ -3282,6 +3417,10 @@
|
||||
.script-eval-report--inside .script-eval-report__body {
|
||||
padding-inline: 24px;
|
||||
}
|
||||
|
||||
.script-eval-report__detail-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
@@ -3301,6 +3440,19 @@
|
||||
}
|
||||
|
||||
@media (max-width: 680px) {
|
||||
.script-eval-report__detail-grid {
|
||||
grid-template-columns: 1fr;
|
||||
margin-inline: 0;
|
||||
}
|
||||
|
||||
.script-eval-report__detail-card {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.script-eval-report__subscore-row {
|
||||
grid-template-columns: minmax(58px, 78px) minmax(0, 1fr) 30px;
|
||||
}
|
||||
|
||||
.script-eval-v5 {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user