errors.New("EOF") creates a distinct error instance that doesn't match
io.EOF, causing processRawHTTPStream to silently ignore normal stream
termination without sending a done response.
- SSEReader: return io.EOF instead of errors.New("EOF")
- processRawHTTPStream: handle io.EOF as normal completion, send done
response with usage/toolCalls (aligned with processStream behavior)
Fixes #860
|
||
|---|---|---|
| .. | ||
| chat | ||
| embedding | ||
| provider | ||
| rerank | ||
| utils | ||
| vlm | ||