feat: add models compare

This commit is contained in:
jialin
2024-09-22 14:55:23 +08:00
parent 2e5f0d9210
commit 4f4f00f0c8
15 changed files with 794 additions and 154 deletions
@@ -0,0 +1,17 @@
.content-item {
margin-bottom: 12px;
&-role {
display: flex;
align-items: center;
font-weight: var(--font-weight-bold);
margin-bottom: 8px;
}
&-content {
word-break: break-word;
padding: 8px;
border-radius: var(--border-radius-mini);
background-color: var(--ant-color-fill-tertiary);
}
}
@@ -2,7 +2,6 @@
display: flex;
flex-direction: column;
justify-content: space-between;
height: calc(100vh - 72px);
.chat-list {
flex: 1;
@@ -0,0 +1,46 @@
.prompt-wrapper {
display: flex;
flex-direction: column;
gap: 16px;
.title {
display: flex;
align-items: center;
justify-content: space-between;
.text {
font-weight: var(--font-weight-bold);
}
}
.prompt-item {
display: flex;
flex-direction: column;
border: 1px solid var(--ant-color-border);
border-radius: var(--border-radius-base);
min-height: 150px;
padding: 10px 12px;
gap: 8px;
.data-item {
display: flex;
justify-content: flex-start;
align-items: start;
}
.role {
display: flex;
width: 60px;
flex-basis: 60px;
font-weight: var(--font-weight-bold);
margin-bottom: 8px;
}
.prompt {
flex: 1;
padding: 8px;
border-radius: var(--border-radius-mini);
background-color: var(--ant-color-fill-tertiary);
}
}
}