Merge pull request #2776 from QwenLM/feat/enhance-btw-command

feat(cli): enhance /btw side question with improved prompt and Ctrl+C/D cancel
This commit is contained in:
Shaojin Wen 2026-04-03 19:17:12 +08:00 committed by GitHub
parent 61bc80fe19
commit e855229453
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 351 additions and 57 deletions

View file

@ -235,7 +235,7 @@ const HistoryItemDisplayComponent: React.FC<HistoryItemDisplayProps> = ({
<InsightProgressMessage progress={itemForDisplay.progress} />
)}
{itemForDisplay.type === 'btw' && itemForDisplay.btw && (
<BtwMessage btw={itemForDisplay.btw} />
<BtwMessage btw={itemForDisplay.btw} containerWidth={contentWidth} />
)}
{itemForDisplay.type === 'user_prompt_submit_blocked' && (
<Box flexDirection="column">