server : (webui) put DeepSeek R1 CoT in a collapsible <details> element (#11364)

* webui : put DeepSeek R1 CoT in a collapsible <details> element

* webui: refactor split

* webui: don't use regex to split cot and response

* webui: format+qol

* webui: no loading icon if the model isn't generating

* ui fix, add configs

* add jsdoc types

* only filter </think> for assistant msg

* build

* update build

---------

Co-authored-by: Xuan Son Nguyen <son@huggingface.co>
This commit is contained in:
stduhpf 2025-01-24 09:02:38 +01:00 committed by GitHub
parent 564804b79b
commit c07e87f38b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 159 additions and 33 deletions

Binary file not shown.