-
Notifications
You must be signed in to change notification settings - Fork 13.6k
webui: add OAI-Compat Harmony tool-call streaming visualization and persistence in chat UI #16618
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
base: master
Are you sure you want to change the base?
webui: add OAI-Compat Harmony tool-call streaming visualization and persistence in chat UI #16618
Conversation
|
I have to do a little cleaning, the patch was not merged properly on my side. -> draft |
|
This PR is now clean, but it was developed after this one: #16562 |
0fe776d to
02df5a1
Compare
|
Alright, @ServeurpersoCom, let's move forward with this one after merging #16562 ;) Let me know when you've addressed the merge conflicts and I'll gladly review the code |
02df5a1 to
a5cff84
Compare
|
Feel free to dissect the architecture as deep as you want! Component boundaries, store coupling, service layering, anything that smells non-idiomatic. |
|
And we could even imagine the architecture being reusable later : like having a small JavaScript execution module decoupled from the UI, so the model could actually interact with a JS thread it coded itself. |
|
Includes a very small optimization from the previous PR (scroll listener removal). It landed here intentionally :D |
aad02d8 to
d2399e9
Compare
d2399e9 to
57e7100
Compare
dc8ac21 to
eeee367
Compare
…and persistence in chat UI - Purely visual and diagnostic change, no effect on model context, prompt construction, or inference behavior - Captured assistant tool call payloads during streaming and non-streaming completions, and persisted them in chat state and storage for downstream use - Exposed parsed tool call labels beneath the assistant's model info line with graceful fallback when parsing fails - Added tool call badges beneath assistant responses that expose JSON tooltips and copy their payloads when clicked, matching the existing model badge styling - Added a user-facing setting to toggle tool call visibility to the Developer settings section directly under the model selector option




Close #16597