LibreChat/api/server/utils
Danny Avila 591a019766
🏄‍♂️ refactor: Optimize Reasoning UI & Token Streaming (#5546)
*  feat: Implement Show Thinking feature; refactor: testing thinking render optimizations

*  feat: Refactor Thinking component styles and enhance Markdown rendering

* chore: add back removed code, revert type changes

* chore: Add back resetCounter effect to Markdown component for improved code block indexing

* chore: bump @librechat/agents and google langchain packages

* WIP: reasoning type updates

* WIP: first pass, reasoning content blocks

* chore: revert code

* chore: bump @librechat/agents

* refactor: optimize reasoning tag handling

* style: ul indent padding

* feat: add Reasoning component to handle reasoning display

* feat: first pass, content reasoning part styling

* refactor: add content placeholder for endpoints using new stream handler

* refactor: only cache messages when requesting stream audio

* fix: circular dep.

* fix: add default param

* refactor: tts, only request after message stream, fix chrome autoplay

* style: update label for submitting state and add localization for 'Thinking...'

* fix: improve global audio pause logic and reset active run ID

* fix: handle artifact edge cases

* fix: remove unnecessary console log from artifact update test

* feat: add support for continued message handling with new streaming method

---------

Co-authored-by: Marco Beretta <81851188+berry-13@users.noreply.github.com>
2025-01-29 19:46:58 -05:00
..
emails 📩 feat: invite user (#3012) 2024-08-18 00:23:38 -04:00
import 🐛 fix: Artifacts Type Error, Tool Token Counts, and Agent Chat Import (#5142) 2024-12-30 13:01:47 -05:00
citations.js 🛡️ fix: Minor Vulnerabilities (#4543) 2024-10-24 15:50:48 -04:00
countTokens.js feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
crypto.js 🔐 fix: token not using webcrypto (#4005) 2024-09-11 22:25:14 -04:00
files.js feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
handleText.js 🏄‍♂️ refactor: Optimize Reasoning UI & Token Streaming (#5546) 2025-01-29 19:46:58 -05:00
handleText.spec.js 🛡️ fix: Enhance File Upload Security & Error Handling (#4705) 2024-11-12 16:41:04 -05:00
index.js 📧 feat: email verification (#2344) 2024-06-07 15:06:47 -04:00
math.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
queue.js 🅰️ feat: Azure OpenAI Assistants API Support (#1992) 2024-03-14 17:21:42 -04:00
removePorts.js feat: bun api support 🥟 (#1021) 2023-10-07 11:16:06 -04:00
sendEmail.js 📧 fix: Cancel Signup if Email Issuance Fails (#3010) 2024-06-08 06:51:29 -04:00
staticCache.js 🧠 feat: Prompt caching switch, prompt query params; refactor: static cache, prompt/markdown styling, trim copied code, switch new chat to convo URL (#3784) 2024-08-26 15:34:46 -04:00
streamResponse.js 🔐 fix: Enhance Message & Image Access Security (#3363) 2024-07-17 09:51:03 -04:00