tool call in-flight resume
This commit is contained in:
@@ -150,6 +150,7 @@ Backend database remains source of truth.
|
||||
|
||||
During stream:
|
||||
- Client may optimistically render accumulated `delta` text.
|
||||
- Backend persists each completed tool call as a `tool` message before emitting its `tool_call` SSE event, so chat detail refreshes can show completed tool calls while the assistant response is still running.
|
||||
|
||||
On successful completion:
|
||||
- Backend persists assistant `Message` and updates `LlmCall` usage/latency in a transaction.
|
||||
|
||||
Reference in New Issue
Block a user