diff options
Diffstat (limited to 'packages/cli/src/ui/components/InputPrompt.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/InputPrompt.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx index b1832c04..cf28960e 100644 --- a/packages/cli/src/ui/components/InputPrompt.tsx +++ b/packages/cli/src/ui/components/InputPrompt.tsx @@ -1,6 +1,7 @@ import React from 'react'; import { Box, Text } from 'ink'; import TextInput from 'ink-text-input'; +import { getModel } from '../../config/globalConfig.js'; interface InputPromptProps { query: string; @@ -14,6 +15,8 @@ const InputPrompt: React.FC<InputPromptProps> = ({ setQuery, onSubmit, }) => { + const model = getModel(); + return ( <Box marginTop={1} borderStyle="round" borderColor={'white'} paddingX={1}> <Text color={'white'}>> </Text> @@ -24,7 +27,7 @@ const InputPrompt: React.FC<InputPromptProps> = ({ onSubmit={onSubmit} showCursor={true} focus={true} - placeholder={'Ask Gemini... (try "/init" or "/help")'} + placeholder={`Ask Gemini (${model})... (try "/init" or "/help")`} /> </Box> </Box> |
