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
This commit is contained in:
Taylor Mullen
2025-04-26 19:31:41 -07:00
committed by N. Taylor Mullen
parent 5be89befef
commit 688b2d0da7
3 changed files with 19 additions and 44 deletions

View File

@@ -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 });