]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
webui: add OAI-Compat Harmony tool-call streaming visualization and persistence in...
authorPascal <redacted>
Sat, 15 Nov 2025 20:09:32 +0000 (21:09 +0100)
committerGitHub <redacted>
Sat, 15 Nov 2025 20:09:32 +0000 (21:09 +0100)
commit1411d9275ad7d2af44543fb9c1e64eea1e1c8de7
treea158f4af779b5457d1aa31184fad588d094ef1b9
parent662192e1dcd224bc25759aadd0190577524c6a66
webui: add OAI-Compat Harmony tool-call streaming visualization and persistence in chat UI (#16618)

* webui: add OAI-Compat Harmony tool-call live streaming visualization 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

* webui: remove scroll listener causing unnecessary layout updates (model selector)

* Update tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageAssistant.svelte

Co-authored-by: Aleksander Grygier <redacted>
* Update tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageAssistant.svelte

Co-authored-by: Aleksander Grygier <redacted>
* chore: npm run format & update webui build output

* chore: update webui build output

---------

Co-authored-by: Aleksander Grygier <redacted>
12 files changed:
tools/server/public/index.html.gz
tools/server/webui/src/lib/components/app/chat/ChatForm/ChatFormModelSelector.svelte
tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessage.svelte
tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageAssistant.svelte
tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettingsDialog.svelte
tools/server/webui/src/lib/constants/settings-config.ts
tools/server/webui/src/lib/services/chat.ts
tools/server/webui/src/lib/stores/chat.svelte.ts
tools/server/webui/src/lib/stores/database.ts
tools/server/webui/src/lib/types/api.d.ts
tools/server/webui/src/lib/types/database.d.ts
tools/server/webui/src/lib/types/settings.d.ts