mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2026-07-21 08:55:21 -04:00
[PR #186] Add think block support for AI assistant messages #194
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/webapp-conversation/pull/186
Author: @lyzno1
Created: 9/20/2025
Status: 🔄 Open
Base:
main← Head:feat/think-block-support📝 Commits (3)
0746d4cfeat: Add think block support to StreamdownMarkdown819ed56i18n: Add translations for think block states456015afix: apply suggestions📊 Changes
11 files changed (+287 additions, -4 deletions)
View changed files
📝
app/components/base/streamdown-markdown.tsx(+162 -2)📝
app/components/chat/answer/index.tsx(+2 -2)➕
app/components/chat/think-block/index.tsx(+3 -0)➕
app/components/chat/think-block/think-block-content.tsx(+31 -0)➕
app/components/chat/think-block/think-block-header.tsx(+71 -0)📝
i18n/lang/common.en.ts(+3 -0)📝
i18n/lang/common.es.ts(+3 -0)📝
i18n/lang/common.fr.ts(+3 -0)📝
i18n/lang/common.ja.ts(+3 -0)📝
i18n/lang/common.vi.ts(+3 -0)📝
i18n/lang/common.zh.ts(+3 -0)📄 Description
Summary
<think>and<details>tags for compatibilityImplementation Details
Components Created
Core Features
<think>and<details>tags at the beginning of messagesTechnical Approach
The implementation extends the existing
StreamdownMarkdowncomponent to:Test Plan
<think>tags<details>tags🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.