mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Anthropic: auto-caching indicators only on Extra
This commit is contained in:
@@ -543,7 +543,7 @@ export function ChatMessage(props: {
|
||||
// borderTopLeftRadius: '0.375rem',
|
||||
// borderBottomLeftRadius: '0.375rem',
|
||||
}),
|
||||
...(isVndAndCacheAuto && !isVndAndCacheUser && {
|
||||
...(uiComplexityMode === 'extra' && isVndAndCacheAuto && !isVndAndCacheUser && {
|
||||
position: 'relative',
|
||||
'&::before': {
|
||||
content: '""',
|
||||
@@ -555,6 +555,7 @@ export function ChatMessage(props: {
|
||||
background: `repeating-linear-gradient( -45deg, transparent, transparent 2px, ${ModelVendorAnthropic.brandColor} 2px, ${ModelVendorAnthropic.brandColor} 12px ) repeat`,
|
||||
},
|
||||
}),
|
||||
// style: when the user skips the message
|
||||
...(isUserMessageSkipped && messageSkippedSx),
|
||||
|
||||
// for: ENABLE_COPY_MESSAGE_OVERLAY
|
||||
|
||||
Reference in New Issue
Block a user