summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/InputPrompt.tsx
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-04-26 19:31:41 -0700
committerN. Taylor Mullen <[email protected]>2025-04-26 19:32:56 -0700
commit688b2d0da7f59421312e132461b33c8c593698a0 (patch)
tree4be08e5c0dcb9b2e73c792a746db517056cdfd15 /packages/cli/src/ui/components/InputPrompt.tsx
parent5be89befeff9c4d4f3ab9f508f030bc153fdd06b (diff)
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
Diffstat (limited to 'packages/cli/src/ui/components/InputPrompt.tsx')
-rw-r--r--packages/cli/src/ui/components/InputPrompt.tsx6
1 files changed, 1 insertions, 5 deletions
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<InputPromptProps> = ({ 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 });