Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display R1's thinking blocks in separate collapsable view in the UI #367

Open
joulei opened this issue Feb 17, 2025 · 0 comments
Open

Display R1's thinking blocks in separate collapsable view in the UI #367

joulei opened this issue Feb 17, 2025 · 0 comments
Assignees

Comments

@joulei
Copy link
Collaborator

joulei commented Feb 17, 2025

When talking with DeepSeek R1 models we get back a thinking block before the actual response from the assistant. It usually looks like this:

<think>
I'be been asked what is the ....
</think>
The capital of France is Paris.

Currently, since this is part of the response text from the assistant, the entire block of text is displayed as-is, including the tags.
We want to implement something similar to DeepSeek's UI:

Screen.Recording.2025-02-17.at.11.29.58.AM.mov

In the future we want to make this step replaceable or extendable, as search agents will display a list of the websites they're navigating, etc.
For now let's make the thinking blocks have it's own UI.

@joulei joulei assigned joulei and fmzbl and unassigned joulei Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants