gradio/demo/chatinterface_nested_thoughts
Abubakar Abid be40307d1d
Add support for thinking LLMs directly in gr.ChatInterface (#10305)
* ungroup thoughts from messages

* rename messagebox to thought

* refactor

* * add metadata typing
* group thoughts when nested

* tweaks

* tweak

* add changeset

* fix expanded rotation

* border radius

* update thought design

* move spinner

* prevent circular reference

* revert border removal

* css tweaks

* border tweak

* move chevron to the left

* tweak nesting logic

* thought group spacing

* update run.py

* icon changes

* format

* add changeset

* add nested thought demo

* changes

* changes

* changes

* add demo

* docs

* guide

* refactor styles and clean up logic

* revert demo change and and deeper nested thought to demo

* add optional duration to message types

* add nested thoughts story

* format

* guide

* change dropdown icon button

* remove requirement for id's in nested thoughts

* support markdown in thought title

* get thought content in copied value

* add funcs to utils

* move is_all_text

* remove comment

* notebook

* change bot padding

* changes

* changes

* changes

* panel css fix

* changes

* changes

* changes

* changes

* tweak thought content opacity

* more changes

* add changeset

* changes

* restore

* changes

* changes

* revert everythign

* revert everythign

* revert

* changes

* revert

* make changes to demo

* notebooks

* more docs

* format

* changes

* changes

* update demo

* fix typing issues

* chatbot

* document chatmessage helper class

* add changeset

* changes

* format

* docs

---------

Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2025-01-10 00:06:07 +00:00
..
run.ipynb Add support for thinking LLMs directly in gr.ChatInterface (#10305) 2025-01-10 00:06:07 +00:00
run.py Add support for thinking LLMs directly in gr.ChatInterface (#10305) 2025-01-10 00:06:07 +00:00