diff options
Diffstat (limited to 'packages/cli/src/ui/components')
| -rw-r--r-- | packages/cli/src/ui/components/InputPrompt.tsx | 6 | ||||
| -rw-r--r-- | packages/cli/src/ui/components/messages/UserMessage.tsx | 2 |
2 files changed, 2 insertions, 6 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 }); 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<UserMessageProps> = ({ text }) => { const prefixWidth = prefix.length; return ( - <Box flexDirection="row"> + <Box flexDirection="row" marginY={1}> <Box width={prefixWidth}> <Text color={Colors.Gray}>{prefix}</Text> </Box> |
