eca icon indicating copy to clipboard operation
eca copied to clipboard

Improve thinking blocks look

Open zikajk opened this issue 1 month ago • 2 comments

This problem is best seen with OpenAI models. A lot of empty thinking blocks remain in the chat.

I think it would be best to display X consecutive empty thinking blocks as one 'thinking...' and remove it once we receive the response. If multiple thinking blocks with text follow each other (probably even if there are empty ones between them), it would make sense to combine them. However, everything should be done in such a way that we do not change the actual conversation history that we send to the provider.

Would be good to solve this on a server side.

Image

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

zikajk avatar Oct 10 '26 15:10 zikajk

@zikajk after some research I found a way to do that only on server, keeping the reasonFinished protocol message until no next reason, I believe it's working nice, but would be nice if you could test more

ericdallo avatar Oct 14 '26 15:10 ericdallo

@ericdallo Sounds great! Will do.

zikajk avatar Oct 14 '26 15:10 zikajk