Refactor _chat_stream_events in api_server.py to standardize SSE response format by removing additional status codes and consolidating output into a unified JSON structure. Update logging to enhance clarity on streaming events and improve error handling. Adjust documentation to reflect changes in event data structure.

This commit is contained in:
陈辅元
2026-04-16 16:26:58 +08:00
parent 70c8e90f2e
commit f492e29749
4 changed files with 59 additions and 169 deletions
Binary file not shown.