feat(cli): Increase /insight feature exposure via weighted tips

- Add weighted tip system to make certain tips appear more frequently
- Set /insight tip to weight 3 (3x more likely than regular tips)
- Add i18n translations for the new tip across all supported languages
- Add comprehensive unit tests for weighted tip selection

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
tanzhenxin 2026-02-28 18:08:37 +08:00
parent e93b287329
commit 1b7d153a4c
8 changed files with 150 additions and 6 deletions

View file

@ -1132,6 +1132,8 @@ export default {
'Você pode retomar uma conversa anterior executando qwen --continue ou qwen --resume.',
'You can switch permission mode quickly with Shift+Tab or /approval-mode.':
'Você pode alternar o modo de permissão rapidamente com Shift+Tab ou /approval-mode.',
'Try /insight to generate personalized insights from your chat history.':
'Experimente /insight para gerar insights personalizados do seu histórico de conversas.',
// ============================================================================
// Exit Screen / Stats