From cb303514035440b1631964cad5093a4c80cd3e43 Mon Sep 17 00:00:00 2001
From: Evan Senter <evansenter@gmail.com>
Date: Fri, 18 Apr 2025 17:06:16 +0100
Subject: Adding a new parameter for model, and updating the default to 2.5
 Flash. (#18)

---
 packages/cli/src/ui/components/InputPrompt.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'packages/cli/src/ui/components/InputPrompt.tsx')

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'}>&gt; </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>
-- 
cgit v1.2.3

