/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Box, Text } from 'ink'; import { theme } from '../semantic-colors.js'; import { type Config } from '@qwen-code/qwen-code-core'; import { t } from '../../i18n/index.js'; interface TipsProps { config: Config; } export const Tips: React.FC = ({ config }) => { const geminiMdFileCount = config.getGeminiMdFileCount(); return ( {t('Tips for getting started:')} {t('1. Ask questions, edit files, or run commands.')} {t('2. Be specific for the best results.')} {geminiMdFileCount === 0 && ( 3. Create{' '} QWEN.md {' '} {t('files to customize your interactions with Qwen Code.')} )} {geminiMdFileCount === 0 ? '4.' : '3.'}{' '} /help {' '} {t('for more information.')} ); };