Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/llm/app/llm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function LLMScreen() {
? ColorPalette.blueDark
: ColorPalette.blueLight,
}}
placeholder="Your message"
placeholder={isTextInputFocused ? '' : 'Your message'}
placeholderTextColor={'#C1C6E5'}
multiline={true}
ref={textInputRef}
Expand Down
6 changes: 5 additions & 1 deletion apps/llm/app/llm_structured_output/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,11 @@ function LLMScreen() {
? ColorPalette.blueDark
: ColorPalette.blueLight,
}}
placeholder="Your message e.g. I'm John. Is this product damaged? I can give you $100 for this."
placeholder={
isTextInputFocused
? ''
: "Your message e.g. I'm John. Is this product damaged? I can give you $100 for this."
}
placeholderTextColor={'#C1C6E5'}
multiline={true}
ref={textInputRef}
Expand Down
2 changes: 1 addition & 1 deletion apps/llm/app/llm_tool_calling/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function LLMToolCallingScreen() {
? ColorPalette.blueDark
: ColorPalette.blueLight,
}}
placeholder="Your message"
placeholder={isTextInputFocused ? '' : 'Your message'}
placeholderTextColor={'#C1C6E5'}
multiline={true}
ref={textInputRef}
Expand Down
Loading