⬤ style: Circular Streaming Cursor (#1736)

* Updated Style Cursor like ChatGPT

* style(Markdown.tsx): add space before cursor when there is text

* fix: revert OpenAIClient.tokens.js change

* fix:(Markdown.tsx): revert change of unused file

* fix(convos.spec.ts): test fix

* chore: remove raw HTML for cursor animations

---------

Co-authored-by: Danny Avila <danacordially@gmail.com>
Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
This commit is contained in:
Raí Santos 2024-02-10 13:07:57 -03:00 committed by GitHub
parent 92a41fbf47
commit a2e85b7053
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 75 additions and 58 deletions

View file

@ -332,10 +332,6 @@ export default function useSSE(submission: TSubmission | null, index = 0) {
} else if (response.status === 204) {
const responseMessage = {
...submission.initialResponse,
text: submission.initialResponse.text.replace(
'<span className="result-streaming">█</span>',
'',
),
};
return {