-
Refactor API request flow and streamline response handling
发布于
2025-07-04 18:27:34 +00:00 - Replaced
SendMessageStreamwith synchronousSendMessagein API handlers for better manageability. - Simplified
ConvertCliToOpenAINonStreamto reduce complexity and improve efficiency. - Adjusted
client.gofunctions to handle both streaming and non-streaming API requests more effectively. - Improved error handling and channel communication in API handlers.
- Removed redundant and unused code for cleaner implementation.
下载附件
- Replaced