Currently if you provide text in Assistant that is over the 40k char limit, the user doesn't get told their text is getting cut off. it should visualize it. (maybe have the text limit only show up once user gets close or is over the limit.
But currently the user just doesnt know unless they manually go and check the submitted input text.
To clarify:
- you should still be able to type or paste more than you can actually send
- the submit button should become inactive if it's over the allowed length
- any text over the length should be highlighted in red in the input text field