Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

Fix failed-sampling hint typography contracts

shenjiacheng4f315d4f791e
diff --git a/apps/desktop/src/renderer/components/chat/AssistantMessage.tsx b/apps/desktop/src/renderer/components/chat/AssistantMessage.tsx
index aaa7cadcc4..f269f55dfa 100644
--- a/apps/desktop/src/renderer/components/chat/AssistantMessage.tsx
+++ b/apps/desktop/src/renderer/components/chat/AssistantMessage.tsx
@@ -339,7 +339,7 @@ export const AssistantMessage = memo(function AssistantMessage({
)}
>
{failedSamplingAttempt && (
- <div className="mb-1 text-13 font-normal leading-[18px]" style={{ color: 'var(--text-secondary)' }}>
+ <div className="mb-1 text-13 font-normal leading-[1.384615]" style={{ color: 'var(--text-secondary)' }}>
{t('chat.failedSamplingAttempt')}
</div>
)}
diff --git a/apps/mobile/src/session/MessageRenderer.tsx b/apps/mobile/src/session/MessageRenderer.tsx
index 6b31942bcd..b59581c762 100644
--- a/apps/mobile/src/session/MessageRenderer.tsx
+++ b/apps/mobile/src/session/MessageRenderer.tsx
@@ -8810,7 +8810,7 @@ const makeStyles = (colors: ThemeColors) => StyleSheet.create({
color: colors.textSecondary,
fontSize: typeScale.footnote,
lineHeight: lineHeight.caption,
- fontWeight: '400',
+ fontWeight: fontWeight.regular,
},
modelMismatchText: {
color: colors.textTertiary,