From 688b2d0da7f59421312e132461b33c8c593698a0 Mon Sep 17 00:00:00 2001 From: Taylor Mullen Date: Sat, 26 Apr 2025 19:31:41 -0700 Subject: Follow up fixes from flickering PR. - The push for these changes didn't make it through.... Just doing a quick fix here which should have been in: https://github.com/google-gemini/gemini-code/pull/181 --- packages/cli/src/ui/components/InputPrompt.tsx | 6 +----- packages/cli/src/ui/components/messages/UserMessage.tsx | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'packages/cli/src/ui/components') diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx index 153b4701..40956647 100644 --- a/packages/cli/src/ui/components/InputPrompt.tsx +++ b/packages/cli/src/ui/components/InputPrompt.tsx @@ -14,11 +14,7 @@ interface InputPromptProps { } export const InputPrompt: React.FC = ({ onSubmit }) => { - const [value, setValue] = React.useState( - "I'd like to update my web fetch tool to be a little smarter about the content it fetches from web pages. Instead of returning the entire HTML to the LLM I was extract the body text and other important information to reduce the amount of tokens we need to use.", - ); - // const [value, setValue] = React.useState('Add "Hello World" to the top of README.md'); - // const [value, setValue] = React.useState('show me "Hello World" in as many langauges as you can think of'); + const [value, setValue] = React.useState(''); const { isFocused } = useFocus({ autoFocus: true }); diff --git a/packages/cli/src/ui/components/messages/UserMessage.tsx b/packages/cli/src/ui/components/messages/UserMessage.tsx index a83ffea7..b73fb200 100644 --- a/packages/cli/src/ui/components/messages/UserMessage.tsx +++ b/packages/cli/src/ui/components/messages/UserMessage.tsx @@ -17,7 +17,7 @@ export const UserMessage: React.FC = ({ text }) => { const prefixWidth = prefix.length; return ( - + {prefix} -- cgit v1.2.3