Skip to content

Commit

Permalink
fix: Change chat input placeholder text (#6011)
Browse files Browse the repository at this point in the history
Changes the default placeholder text for the chat input.

| Before | After |
| -- | -- |
| ![CleanShot 2024-10-28 at 11 45
44@2x](https://github.com/user-attachments/assets/7fcfb82a-43d4-4d1d-a356-a28ca348f63f)
| ![CleanShot 2024-10-28 at 11 44
56@2x](https://github.com/user-attachments/assets/507405da-82c8-4247-8648-e618847cc8d5)
|

## Test plan

Manually tested, locally.

---------

Co-authored-by: Naman Kumar <[email protected]>
  • Loading branch information
taiyab and thenamankumar authored Oct 29, 2024
1 parent 9357779 commit 3091beb
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ const HumanMessageCellContent = memo<HumanMessageCellContent>(props => {
models={models}
userInfo={userInfo}
initialEditorState={initialEditorState}
placeholder={isFirstMessage ? 'Ask...' : 'Ask a followup...'}
placeholder={
isFirstMessage
? 'Ask anything. Use @ to specify context...'
: 'Ask a followup...'
}
isFirstMessage={isFirstMessage}
isSent={isSent}
isPendingPriorResponse={isPendingPriorResponse}
Expand Down

0 comments on commit 3091beb

Please sign in to comment.