Skip to content

Conversation

ServeurpersoCom
Copy link
Collaborator

@ServeurpersoCom ServeurpersoCom commented Oct 16, 2025

  • Purely visual and diagnostic change, no effect on model context, prompt construction, or inference behavior
  • Introduces full support for delta.tool_calls streaming from Harmony-compatible models
  • Adds parsing, incremental merging, and live updates of tool-call deltas in ChatService
  • Extends chat store, database schema, and message model to persist toolCalls content alongside reasoning traces
  • Implements new Svelte components ChatMessageToolCallBlock and ChatMessageToolCallItem for structured display of tool-call payloads
  • Adds a fallback raw string mode for malformed or non-JSON tool-call chunks
  • Adds 'Show tool call chunks' toggle in chat settings and new config flag showToolCalls
  • Updates ApiChatCompletion types to define ToolCall and ToolCallDelta interfaces for typed Harmony compatibility
  • Integrates tool-call rendering in ChatMessageAssistant when showToolCalls is enabled

Close #16597

…ersistence in chat UI

- Purely visual and diagnostic change, no effect on model context, prompt construction, or inference behavior
- Introduces full support for delta.tool_calls streaming from Harmony-compatible models
- Adds parsing, incremental merging, and live updates of tool-call deltas in ChatService
- Extends chat store, database schema, and message model to persist toolCalls content alongside reasoning traces
- Implements new Svelte components ChatMessageToolCallBlock and ChatMessageToolCallItem for structured display of tool-call payloads
- Adds a fallback raw string mode for malformed or non-JSON tool-call chunks
- Adds 'Show tool call chunks' toggle in chat settings and new config flag showToolCalls
- Updates ApiChatCompletion types to define ToolCall and ToolCallDelta interfaces for typed Harmony compatibility
- Integrates tool-call rendering in ChatMessageAssistant when showToolCalls is enabled
@ServeurpersoCom ServeurpersoCom marked this pull request as draft October 17, 2025 08:26
@ServeurpersoCom
Copy link
Collaborator Author

I have to do a little cleaning, the patch was not merged properly on my side. -> draft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add a debug option to display OpenAI-Compatible toolcall chunks in the WebUI

1 participant