mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
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:
parent
5be89befef
commit
688b2d0da7
3 changed files with 19 additions and 44 deletions
|
|
@ -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 });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue