feat: enhance configuration and environment setup for SSH sandbox and Creators Platform; update local excludes and improve component logic in the web app

This commit is contained in:
Novice
2026-03-24 17:05:56 +08:00
parent a844936759
commit d594365a45
29 changed files with 208 additions and 194 deletions

View File

@ -141,7 +141,7 @@ const Answer: FC<AnswerProps> = ({
}, [switchSibling, item.prevSibling, item.nextSibling])
const contentIsEmpty = typeof content === 'string' && content.trim() === ''
const generationContentRenderIsUsed = llmGenerationItems?.length && llmGenerationItems.some((item) => {
const generationContentRenderIsUsed = !!llmGenerationItems?.length && llmGenerationItems.some((item) => {
return item.type === 'tool' || item.type === 'thought'
})