mirror of
https://github.com/NeuralNomadsAI/CodeNomad.git
synced 2026-08-22 23:03:29 +00:00
Avoid queued badge in timeline previews
This commit is contained in:
parent
d3706d2985
commit
bd0cb04b78
1 changed files with 1 additions and 7 deletions
|
|
@ -11,13 +11,7 @@ interface MessagePreviewProps {
|
|||
|
||||
const MessagePreview: Component<MessagePreviewProps> = (props) => {
|
||||
const indexMap = createMemo(() => new Map([[props.messageId, 0]]))
|
||||
const lastAssistantIndex = createMemo(() => {
|
||||
const record = props.store().getMessage(props.messageId)
|
||||
if (record?.role === "assistant") {
|
||||
return 0
|
||||
}
|
||||
return -1
|
||||
})
|
||||
const lastAssistantIndex = createMemo(() => 0)
|
||||
|
||||
return (
|
||||
<div class="message-preview message-stream">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue