diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index 5860e36e..727450c0 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -296,7 +296,7 @@ export const App = ({ items={[
- + , ...history.map((h) => ( ( - - Tips for getting started: - - 1.{' '} - - /help - {' '} - for more information. - - - 2. Ask coding questions, edit code or run commands. - - 3. Be specific for the best results. - -); +interface TipsProps { + config: Config; +} + +export const Tips: React.FC = ({ config }) => { + const geminiMdFileCount = config.getGeminiMdFileCount(); + return ( + + Tips for getting started: + + 1.{' '} + + /help + {' '} + for more information. + + + 2. Ask coding questions, edit code or run commands. + + + 3. Be specific for the best results. + + {geminiMdFileCount === 0 && ( + + 4. Create{' '} + + GEMINI.md + {' '} + files to customize your interactions with Gemini. + + )} + + ); +};